Skip to content

Commit

Permalink
fix(IDX): align rosetta deps
Browse files Browse the repository at this point in the history
This updates the cargo build to removes the `actix-web` & `serde_bytes` dependencies from the
ledger canister blocks synchronizer, and to remove the `actix-web` custom
features for the top-level `rosetta` package. This aligns the rosetta
cargo build a bit more with its Bazel configuration.
  • Loading branch information
nmattia committed Jul 1, 2024
1 parent 47a67a7 commit 0a7b7c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

7 changes: 1 addition & 6 deletions rs/rosetta-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ default-run = "ic-rosetta-api"

[dependencies]
actix-rt = "2.2.0"
actix-web = { version = "4.0.1", default-features = false, features = [
"compress-brotli",
"compress-gzip",
"cookies",
"macros",
] }
actix-web = "4.0.1"
anyhow = { workspace = true }
async-trait = { workspace = true }
base64 = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions rs/rosetta-api/ledger_canister_blocks_synchronizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ url = "2.2.1"

[dev-dependencies]
actix-rt = "2.2.0"
actix-web = { version = "4.0.1", default-features = false, features = ["macros", "compress-brotli", "compress-gzip", "cookies"] }
ic-ledger-canister-blocks-synchronizer-test-utils = { path = "test_utils" }
proptest = "1.0"
serde_bytes = { workspace = true }

[lib]
path = "src/lib.rs"
Expand Down

0 comments on commit 0a7b7c5

Please sign in to comment.