Skip to content

Commit

Permalink
Avoid using git hashes in cargo.toml
Browse files Browse the repository at this point in the history
This makes it difficult for crates that build on the SDK, since they must also use those exact git hashes on pain of having weird incompatible types. The DFX SNS extension is in this boat. Unfortunately it is difficult for the DFX SNS extension to use that exact git hash since it depends on crates in the IC monorepo which also depend on and use ic-agent.
  • Loading branch information
anchpop authored Sep 3, 2024
1 parent 54897b5 commit 9a57497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ license = "Apache-2.0"
[workspace.dependencies]
candid = "0.10.4"
candid_parser = "0.1.4"
ic-agent = { git = "https://github.com/dfinity/agent-rs.git", rev = "6e11a350112f9b907c4d590d8217f340e153d898" }
ic-agent = "0.37"
ic-asset = { path = "src/canisters/frontend/ic-asset" }
ic-cdk = "0.13.1"
ic-identity-hsm = { git = "https://github.com/dfinity/agent-rs.git", rev = "6e11a350112f9b907c4d590d8217f340e153d898" }
ic-utils = { git = "https://github.com/dfinity/agent-rs.git", rev = "6e11a350112f9b907c4d590d8217f340e153d898" }
ic-utils = "0.37"

aes-gcm = "0.10.3"
anyhow = "1.0.56"
Expand Down

0 comments on commit 9a57497

Please sign in to comment.