Skip to content

Commit fae3d85

Browse files
committed
Remove unused dependencies from Cargo.toml files
Cleaned up multiple Cargo.toml files across the project by removing unused dependencies such as reqwest, rand, tokio, redis, gem_hash, k256, uuid, strum, bcs, and several chain-specific crates. This reduces build complexity and improves maintainability.
1 parent 7ef26a7 commit fae3d85

File tree

10 files changed

+1
-42
lines changed

10 files changed

+1
-42
lines changed

Cargo.lock

Lines changed: 0 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/api/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ serde_json = { workspace = true }
1414
tokio = { workspace = true }
1515
config = { workspace = true }
1616
prometheus-client = { workspace = true }
17-
reqwest = { workspace = true }
1817
strum = { workspace = true }
1918
redis = { workspace = true }
2019

apps/daemon/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ futures = { workspace = true }
1212
chrono = { workspace = true }
1313
strum = { workspace = true }
1414
async-trait = { workspace = true }
15-
rand = { workspace = true }
1615
num-bigint = { workspace = true }
1716

1817
gem_tracing = { path = "../../crates/tracing", features = ["sentry"] }

crates/cacher/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ version = { workspace = true }
66
[dependencies]
77
redis = { workspace = true }
88
serde = { workspace = true }
9-
serde_json = { workspace = true }
10-
tokio = { workspace = true }
9+
serde_json = { workspace = true }

crates/gem_evm/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ serde_serializers = { path = "../serde_serializers" }
1818
gem_jsonrpc = { path = "../gem_jsonrpc" }
1919
gem_client = { path = "../gem_client" }
2020
gem_bsc = { path = "../gem_bsc" }
21-
gem_hash = { path = "../gem_hash" }
2221
signer = { path = "../signer" }
2322

2423
hex = { workspace = true }
2524
alloy-primitives = { workspace = true }
26-
k256 = { workspace = true }
2725
alloy-sol-types = { workspace = true, features = ["eip712-serde"] }
2826
alloy-dyn-abi = { workspace = true, features = ["eip712"] }
2927
alloy-json-abi = { workspace = true }
@@ -38,7 +36,6 @@ num-bigint = { workspace = true }
3836
num-traits = { workspace = true }
3937
bigdecimal = { workspace = true }
4038
url = { workspace = true }
41-
uuid = { workspace = true }
4239
reqwest = { workspace = true, features = ["json"], optional = true }
4340

4441
# rpc feature

crates/gem_rewards/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ alloy-primitives = { workspace = true }
1818
num-traits = { workspace = true }
1919
sha2 = { workspace = true }
2020
chrono = { workspace = true }
21-
tokio = { workspace = true }
2221
reqwest = { workspace = true, features = ["json"] }
2322
regex = { workspace = true }
2423
async-trait = { workspace = true }

crates/prices_dex/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ chrono = { workspace = true }
99
reqwest = { workspace = true }
1010
serde = { workspace = true }
1111
serde_json = { workspace = true }
12-
strum = { workspace = true }
1312

14-
gem_client = { path = "../gem_client" }
1513
primitives = { path = "../primitives" }
1614
serde_serializers = { path = "../serde_serializers" }
1715
settings = { path = "../settings", features = ["testkit"], optional = true }

crates/storage/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ edition = { workspace = true }
66
[dependencies]
77
serde = { workspace = true }
88
serde_json = { workspace = true }
9-
redis = { workspace = true }
109
chrono = { workspace = true }
1110
r2d2 = { workspace = true }
1211

crates/swapper/Cargo.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,11 @@ gem_hash = { path = "../gem_hash" }
2121
gem_jsonrpc = { path = "../gem_jsonrpc" }
2222
gem_client = { path = "../gem_client" }
2323
gem_hypercore = { path = "../gem_hypercore" }
24-
gem_bitcoin = { path = "../gem_bitcoin", features = ["rpc"] }
25-
gem_cardano = { path = "../gem_cardano", features = ["rpc"] }
26-
gem_algorand = { path = "../gem_algorand", features = ["rpc"] }
27-
gem_stellar = { path = "../gem_stellar", features = ["rpc"] }
28-
gem_xrp = { path = "../gem_xrp", features = ["rpc"] }
29-
gem_near = { path = "../gem_near", features = ["rpc"] }
30-
gem_polkadot = { path = "../gem_polkadot", features = ["rpc"] }
3124
serde_serializers = { path = "../serde_serializers" }
3225
number_formatter = { path = "../number_formatter" }
3326

3427
reqwest = { workspace = true, optional = true }
3528

36-
bcs.workspace = true
37-
3829
strum = { workspace = true }
3930

4031
base64.workspace = true

gemstone/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ gem_tron = { path = "../crates/gem_tron", features = ["rpc"] }
2727
gem_evm = { path = "../crates/gem_evm", features = ["rpc"] }
2828
gem_sui = { path = "../crates/gem_sui", features = ["rpc", "signer"] }
2929
gem_aptos = { path = "../crates/gem_aptos", features = ["rpc"] }
30-
gem_hash = { path = "../crates/gem_hash" }
3130
gem_auth = { path = "../crates/gem_auth" }
3231
gem_jsonrpc = { path = "../crates/gem_jsonrpc" }
3332
gem_client = { path = "../crates/gem_client" }
@@ -39,7 +38,6 @@ gem_stellar = { path = "../crates/gem_stellar", features = ["rpc"] }
3938
gem_xrp = { path = "../crates/gem_xrp", features = ["rpc"] }
4039
gem_near = { path = "../crates/gem_near", features = ["rpc"] }
4140
gem_polkadot = { path = "../crates/gem_polkadot", features = ["rpc"] }
42-
serde_serializers = { path = "../crates/serde_serializers" }
4341
chain_traits = { path = "../crates/chain_traits" }
4442
signer = { path = "../crates/signer" }
4543
number_formatter = { path = "../crates/number_formatter" }

0 commit comments

Comments
 (0)