Skip to content

Commit 482cc14

Browse files
committed
fix(deps): remove unused deps
1 parent 54d7f21 commit 482cc14

File tree

46 files changed

+31
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+31
-175
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ libp2p-yamux = { version = "0.46.0", path = "muxers/yamux" }
117117
# External dependencies
118118
async-std-resolver = { version = "0.25.0-alpha.4", default-features = false }
119119
asynchronous-codec = { version = "0.7.0" }
120+
env_logger = "0.11"
120121
futures = "0.3.30"
121122
futures-bounded = { version = "0.2.4" }
122123
futures-rustls = { version = "0.26.0", default-features = false }
124+
getrandom = "0.2"
123125
hickory-proto = { version = "0.25.0-alpha.4", default-features = false }
124126
hickory-resolver = { version = "0.25.0-alpha.4", default-features = false }
125127
multiaddr = "0.18.1"

core/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ pin-project = "1.1.5"
2626
quick-protobuf = "0.8"
2727
rand = "0.8"
2828
rw-stream-sink = { workspace = true }
29-
serde = { version = "1", optional = true, features = ["derive"] }
30-
smallvec = "1.13.2"
3129
thiserror = { workspace = true }
3230
tracing = { workspace = true }
3331
unsigned-varint = { workspace = true }
@@ -37,11 +35,10 @@ async-std = { version = "1.6.2", features = ["attributes"] }
3735
libp2p-mplex = { path = "../muxers/mplex" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
3836
libp2p-noise = { path = "../transports/noise" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
3937
multihash = { workspace = true, features = ["arb"] }
40-
quickcheck = { workspace = true }
4138
libp2p-identity = { workspace = true, features = ["ed25519", "rand"] }
4239

4340
[features]
44-
serde = ["multihash/serde-codec", "dep:serde", "libp2p-identity/serde"]
41+
serde = ["multihash/serde-codec", "libp2p-identity/serde"]
4542

4643
# Passing arguments to the docsrs builder in order to properly document cfg's.
4744
# More information: https://docs.rs/about/builds#cross-compiling

examples/autonat/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ tokio = { workspace = true, features = ["full"] }
1313
clap = { version = "4.5.6", features = ["derive"] }
1414
futures = { workspace = true }
1515
libp2p = { path = "../../libp2p", features = ["tokio", "tcp", "noise", "yamux", "autonat", "identify", "macros"] }
16-
tracing = { workspace = true }
1716
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1817

1918
[lints]

examples/autonatv2/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
2121
tracing = "0.1.40"
2222
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
2323
rand = "0.8.5"
24-
opentelemetry = { version = "0.21.0", optional = true }
2524
opentelemetry_sdk = { version = "0.21.1", optional = true, features = ["rt-tokio"] }
2625
tracing-opentelemetry = { version = "0.22.0", optional = true }
2726
opentelemetry-jaeger = { version = "0.20.0", optional = true, features = ["rt-tokio"] }
2827
cfg-if = "1.0.0"
2928

3029
[features]
31-
jaeger = ["opentelemetry", "opentelemetry_sdk", "tracing-opentelemetry", "opentelemetry-jaeger"]
32-
opentelemetry = ["dep:opentelemetry"]
30+
jaeger = ["opentelemetry_sdk", "tracing-opentelemetry", "opentelemetry-jaeger"]
3331
opentelemetry_sdk = ["dep:opentelemetry_sdk"]
3432
tracing-opentelemetry = ["dep:tracing-opentelemetry"]
3533
opentelemetry-jaeger = ["dep:opentelemetry-jaeger"]

examples/chat/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ release = false
1010

1111
[dependencies]
1212
tokio = { workspace = true, features = ["full"] }
13-
async-trait = "0.1"
1413
futures = { workspace = true }
1514
libp2p = { path = "../../libp2p", features = [ "tokio", "gossipsub", "mdns", "noise", "macros", "tcp", "yamux", "quic"] }
16-
tracing = { workspace = true }
1715
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1816

1917
[lints]

examples/dcutr/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ clap = { version = "4.5.6", features = ["derive"] }
1313
futures = { workspace = true }
1414
futures-timer = "3.0"
1515
libp2p = { path = "../../libp2p", features = [ "dns", "dcutr", "identify", "macros", "noise", "ping", "quic", "relay", "rendezvous", "tcp", "tokio", "yamux"] }
16-
log = "0.4"
1716
tokio = { workspace = true, features = ["macros", "net", "rt", "signal"] }
1817
tracing = { workspace = true }
1918
tracing-subscriber = { workspace = true, features = ["env-filter"] }

examples/distributed-key-value-store/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ release = false
1010

1111
[dependencies]
1212
tokio = { workspace = true, features = ["full"] }
13-
async-trait = "0.1"
1413
futures = { workspace = true }
1514
libp2p = { path = "../../libp2p", features = [ "tokio", "dns", "kad", "mdns", "noise", "macros", "tcp", "yamux"] }
16-
tracing = { workspace = true }
1715
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1816

1917
[lints]

examples/file-sharing/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ tokio = { workspace = true, features = ["full"] }
1414
clap = { version = "4.5.6", features = ["derive"] }
1515
futures = { workspace = true }
1616
libp2p = { path = "../../libp2p", features = [ "tokio", "cbor", "dns", "kad", "noise", "macros", "request-response", "tcp", "websocket", "yamux"] }
17-
tracing = { workspace = true }
1817
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1918

2019
[lints]

examples/identify/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ release = false
1212
tokio = { version = "1.37.0", features = ["full"] }
1313
futures = { workspace = true }
1414
libp2p = { path = "../../libp2p", features = ["identify", "noise", "tcp", "tokio", "yamux"] }
15-
tracing = { workspace = true }
1615
tracing-subscriber = { workspace = true, features = ["env-filter"] }
1716

1817
[lints]

0 commit comments

Comments
 (0)