Skip to content

Commit

Permalink
[feat] update
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodolsky committed Jul 25, 2024
1 parent f864e2e commit 834dd57
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 38 deletions.
70 changes: 36 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde_yaml = "0.9"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1"
tokio-util = "0.7"
tokio-util = { version = "0.7", features = ["rt"] }
tower-http = { version = "0.5", features = ["trace", "cors"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM rust:1.79 as builder
FROM --platform=$BUILDPLATFORM rust:1.80 as builder
RUN apt-get update && apt-get install -y \
g++-x86-64-linux-gnu libc6-dev-amd64-cross \
g++-aarch64-linux-gnu libc6-dev-arm64-cross \
Expand All @@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
RUN rustup target add \
x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu armv7-unknown-linux-gnueabihf
RUN rustup toolchain install \
1.79-x86_64-unknown-linux-gnu 1.79-aarch64-unknown-linux-gnu 1.79-armv7-unknown-linux-gnueabihf
1.80-x86_64-unknown-linux-gnu 1.80-aarch64-unknown-linux-gnu 1.80-armv7-unknown-linux-gnueabihf
RUN rustup component add rustfmt
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc \
CC_x86_64_unknown_linux_gnu=x86_64-linux-gnu-gcc \
Expand Down
2 changes: 1 addition & 1 deletion src/iroh_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl IrohNode {
Ok(iroh_node)
}

pub fn client(&self) -> &iroh::client::MemIroh {
pub fn client(&self) -> &iroh::client::Iroh {
self.node.client()
}

Expand Down

0 comments on commit 834dd57

Please sign in to comment.