Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(FI): Cleanup unused dependencies #2628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion rs/ledger_suite/common/ledger_canister_core/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ rust_library(
"//rs/types/management_canister_types",
"//rs/utils",
"@crate_index//:candid",
"@crate_index//:num-traits",
"@crate_index//:serde",
],
)
1 change: 0 additions & 1 deletion rs/ledger_suite/common/ledger_canister_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ ic-ledger-core = { path = "../ledger_core" }
ic-ledger-hash-of = { path = "../../../../packages/ic-ledger-hash-of" }
ic-management-canister-types = { path = "../../../types/management_canister_types" }
ic-utils = { path = "../../../utils" }
num-traits = { workspace = true }
serde = { workspace = true }
1 change: 0 additions & 1 deletion rs/ledger_suite/icp/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ rust_library(
"@crate_index//:crc32fast",
"@crate_index//:hex",
"@crate_index//:ic-cdk",
"@crate_index//:num-traits",
"@crate_index//:prost",
"@crate_index//:serde",
"@crate_index//:serde_bytes",
Expand Down
1 change: 0 additions & 1 deletion rs/ledger_suite/icp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ic-ledger-core = { path = "../common/ledger_core" }
ic-ledger-hash-of = { path = "../../../packages/ic-ledger-hash-of" }
icrc-ledger-types = { path = "../../../packages/icrc-ledger-types" }
lazy_static = { workspace = true }
num-traits = { workspace = true }
on_wire = { path = "../../rust_canisters/on_wire" }
prost = { workspace = true }
serde = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions rs/ledger_suite/icp/test_utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ rust_library(
"//rs/state_machine_tests",
"//rs/types/base_types",
"@crate_index//:candid",
"@crate_index//:candid_parser",
"@crate_index//:hex",
"@crate_index//:maplit",
"@crate_index//:serde",
],
)
2 changes: 0 additions & 2 deletions rs/ledger_suite/icp/test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ documentation.workspace = true

[dependencies]
candid = { workspace = true }
candid_parser = { workspace = true }
canister-test = { path = "../../../rust_canisters/canister_test" }
dfn_protobuf = { path = "../../../rust_canisters/dfn_protobuf" }
ic-base-types = { path = "../../../types/base_types" }
Expand All @@ -18,7 +17,6 @@ ic-nns-constants = { path = "../../../nns/constants" }
ic-state-machine-tests = { path = "../../../state_machine_tests" }
icp-ledger = { path = ".." }
icrc-ledger-types = { path = "../../../../packages/icrc-ledger-types" }
maplit = "1.0.2"
on_wire = { path = "../../../rust_canisters/on_wire" }
pocket-ic = { path = "../../../../packages/pocket-ic" }
serde = { workspace = true }
1 change: 0 additions & 1 deletion rs/ledger_suite/icrc1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ num-bigint = { workspace = true }
num-traits = { workspace = true }
serde = { workspace = true }
serde_bytes = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
Expand Down
3 changes: 0 additions & 3 deletions rs/ledger_suite/icrc1/benchmark/generator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@ DEPENDENCIES = [
"//packages/icrc-ledger-client-cdk:icrc_ledger_client_cdk",
"//packages/icrc-ledger-types:icrc_ledger_types",
"//rs/ledger_suite/common/ledger_core",
"//rs/ledger_suite/icrc1",
"//rs/ledger_suite/icrc1/benchmark/worker",
"//rs/ledger_suite/icrc1/index",
"//rs/ledger_suite/icrc1/ledger",
"//rs/rust_canisters/dfn_core",
"//rs/rust_canisters/dfn_http_metrics",
"//rs/types/base_types",
"@crate_index//:candid",
"@crate_index//:ciborium",
"@crate_index//:futures",
"@crate_index//:ic-cdk",
"@crate_index//:ic-metrics-encoder",
"@crate_index//:num-traits",
"@crate_index//:rand",
"@crate_index//:rand_chacha",
"@crate_index//:serde",
Expand Down
7 changes: 0 additions & 7 deletions rs/ledger_suite/icrc1/benchmark/generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,19 @@ path = "src/main.rs"
[dependencies]
async-trait = { workspace = true }
candid = { workspace = true }
ciborium = { workspace = true }
dfn_http_metrics = { path = "../../../../rust_canisters/dfn_http_metrics" }
futures = { workspace = true }
# !!!! IMPORTANT FOR CANISTERS !!!
getrandom = { version = "0.2", features = ["custom"] }
hex = { workspace = true }
ic-base-types = { path = "../../../../types/base_types" }
ic-cdk = { workspace = true }
ic-cdk-macros = { workspace = true }
ic-crypto-tree-hash = { path = "../../../../crypto/tree_hash" }
ic-icrc1 = { path = "../.." }
ic-icrc1-benchmark-worker = { path = "../worker" }
ic-icrc1-index = { path = "../../index" }
ic-ledger-canister-core = { path = "../../../common/ledger_canister_core" }
ic-ledger-core = { path = "../../../common/ledger_core" }
ic-metrics-encoder = "1"
icrc-ledger-client = { path = "../../../../../packages/icrc-ledger-client" }
icrc-ledger-client-cdk = { path = "../../../../../packages/icrc-ledger-client-cdk" }
icrc-ledger-types = { path = "../../../../../packages/icrc-ledger-types" }
num-traits = { workspace = true }
rand = { workspace = true }
rand_chacha = { workspace = true }
serde = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion rs/ledger_suite/icrc1/ledger/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ rust_test(
"@crate_index//:assert_matches",
"@crate_index//:candid",
"@crate_index//:cddl",
"@crate_index//:hex",
"@crate_index//:ic-agent",
"@crate_index//:ic-metrics-encoder",
"@crate_index//:leb128",
Expand Down
1 change: 0 additions & 1 deletion rs/ledger_suite/icrc1/ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ ic-ledger-core = { path = "../../common/ledger_core" }
ic-ledger-hash-of = { path = "../../../../packages/ic-ledger-hash-of" }
ic-metrics-encoder = "1.1.1"
ic-stable-structures = { workspace = true }
icrc-ledger-client = { path = "../../../../packages/icrc-ledger-client" }
icrc-ledger-types = { path = "../../../../packages/icrc-ledger-types" }
num-traits = { workspace = true }
serde = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions rs/ledger_suite/icrc1/test_utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ DEV_DEPENDENCIES = [
"//rs/crypto/ed25519",
"//rs/crypto/secp256k1",
"//rs/crypto/test_utils/reproducible_rng",
"//rs/ledger_suite/common/ledger_canister_core",
"//rs/ledger_suite/common/ledger_core",
"//rs/ledger_suite/icrc1",
"//rs/limits",
"//rs/rosetta-api/common/rosetta_core:rosetta-core",
"//rs/types/types",
"@crate_index//:candid",
Expand Down
2 changes: 0 additions & 2 deletions rs/ledger_suite/icrc1/test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ documentation.workspace = true
[dependencies]
candid = { workspace = true }
ic-agent = { workspace = true }
ic-limits = { path = "../../../limits" }
ic-crypto-secp256k1 = { path = "../../../crypto/secp256k1" }
ic-crypto-ed25519 = { path = "../../../crypto/ed25519" }
ic-crypto-test-utils-reproducible-rng = { path = "../../../crypto/test_utils/reproducible_rng" }
ic-icrc1 = { path = ".." }
ic-ledger-canister-core = { path = "../../common/ledger_canister_core" }
ic-ledger-core = { path = "../../common/ledger_core" }
ic-ledger-hash-of = { path = "../../../../packages/ic-ledger-hash-of" }
ic-types = { path = "../../../types/types" }
Expand Down
1 change: 0 additions & 1 deletion rs/ledger_suite/tests/sm-tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ DEPENDENCIES = [
"@crate_index//:icrc1-test-suite",
"@crate_index//:num-traits",
"@crate_index//:proptest",
"@crate_index//:serde",
]

MACRO_DEPENDENCIES = [
Expand Down
Loading