Skip to content

Commit 39dc7fa

Browse files
committed
Remove unused dependencies in trin
These aren't related to the current PR AFAICT, I just happened to run udeps after a PR review suggestion. cargo +nightly udeps --workspace
1 parent 1fd1bcd commit 39dc7fa

File tree

7 files changed

+1
-62
lines changed

7 files changed

+1
-62
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ rocksdb = "0.18.0"
3030
rpc = { path = "rpc"}
3131
serde_json = {version = "1.0.89", features = ["preserve_order"]}
3232
sha3 = "0.9.1"
33-
structopt = "0.3.26"
3433
tempfile = "3.3.0"
3534
tokio = { version = "1.14.0", features = ["full"] }
3635
tracing = "0.1.36"
3736
tracing-subscriber = "0.3.15"
3837
trin-beacon = { path = "trin-beacon" }
39-
trin-bridge = { path = "trin-bridge" }
4038
trin-history = { path = "trin-history" }
4139
trin-state = { path = "trin-state" }
4240
trin-utils = { path = "trin-utils" }
@@ -54,6 +52,7 @@ members = [
5452
"light-client",
5553
"rpc",
5654
"trin-beacon",
55+
"trin-bridge",
5756
"trin-cli",
5857
"trin-history",
5958
"trin-state",

ethportal-api/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ rand = "0.8.5"
3131
rlp = "0.5.0"
3232
rlp-derive = "0.1.0"
3333
serde = { version = "1.0.150", features = ["derive"] }
34-
serde-hex = "0.1.0"
3534
serde_json = "1.0.89"
3635
serde_yaml = "0.9.17"
3736
sha2 = "0.10.1"
@@ -42,7 +41,6 @@ thiserror = "1.0.40"
4241
tree_hash = "0.4.0"
4342
tree_hash_derive = "0.4.0"
4443
tokio = { version = "1.14.0", features = ["full"] }
45-
trin-utils = { path = "../trin-utils" }
4644
ureq = { version = "2.5.0", features = ["json"] }
4745
url = "2.3.1"
4846
validator = { version = "0.13.0", features = ["derive"] }

ethportal-peertest/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ authors = ["https://github.com/ethereum/trin/graphs/contributors"]
1212

1313
[dependencies]
1414
anyhow = "1.0.68"
15-
clap = "2.33.3"
1615
discv5 = { version = "0.2.1", features = ["serde"]}
1716
eth2_ssz = "0.4.0"
1817
ethereum-types = "0.12.1"
@@ -26,7 +25,6 @@ rand = "0.8.4"
2625
reth-ipc = { version = "0.1.0", git = "https://github.com/paradigmxyz/reth.git"}
2726
rocksdb = "0.18.0"
2827
serde_json = "1.0.89"
29-
structopt = "0.3.26"
3028
tempfile = "3.3.0"
3129
tokio = {version = "1.14.0", features = ["full"]}
3230
tracing = "0.1.36"

trin-cli/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ authors = ["https://github.com/ethereum/trin/graphs/contributors"]
1414
anyhow = "1.0.68"
1515
base64 = "0.13.0"
1616
clap = { version = "4.2.1", features = ["derive"] }
17-
ethereum-types = "0.12.1"
1817
ethportal-api = { path = "../ethportal-api" }
19-
jsonrpc = "0.12.0"
2018
nanotemplate = "0.3.0"
2119
serde = "1.0.150"
2220
serde_json = { version = "1.0.89", features = ["raw_value"] }
2321

24-
thiserror = "1.0.29"
25-
trin-utils = { path = "../trin-utils" }
2622
ureq = { version = "2.5.0", features = ["json"] }
2723

2824
[[bin]]

trin-utils/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ authors = ["https://github.com/ethereum/trin/graphs/contributors"]
1212
build = "build.rs"
1313

1414
[dependencies]
15-
hex = "0.4.3"
16-
rand = "0.8.5"
17-
thiserror = "1.0.40"
18-
tracing = "0.1.36"
1915
tracing-subscriber = "0.3.15"
2016

2117
[target.'cfg(windows)'.dependencies]

trin-validation/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ serde_json = "1.0.89"
2626
tokio = { version = "1.14.0", features = ["full"] }
2727
tree_hash = "0.4.0"
2828
tree_hash_derive = "0.4.0"
29-
trin-utils = { path = "../trin-utils" }
3029

3130
[dev-dependencies]
3231
quickcheck = "1.0.3"

0 commit comments

Comments
 (0)