Skip to content

Commit

Permalink
Updated to rust 1.74 for clap to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
DSharifi committed May 29, 2024
1 parent 059e9e8 commit d9698de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repository = "https://github.com/dfinity/agent-rs"
# MSRV
# Avoid updating this field unless we use new Rust features
# Sync rust-version in rust-toolchain.toml
rust-version = "1.70.0"
rust-version = "1.74.0"
license = "Apache-2.0"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ic-agent/src/agent/http_transport/reqwest_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl Transport for ReqwestTransport {
fn status(&self) -> AgentFuture<Vec<u8>> {
Box::pin(async move {
let endpoint = "api/v2/status";
self.execute(Method::GET, &endpoint, None).await
self.execute(Method::GET, endpoint, None).await
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# MSRV
# Avoid updating this field unless we use new Rust features
# Sync rust-version in workspace Cargo.toml
channel = "1.70.0"
channel = "1.74.0"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]

0 comments on commit d9698de

Please sign in to comment.