diff --git a/Cargo.lock b/Cargo.lock index be688824..2e517156 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1882,16 +1882,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "if-addrs" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b24dd0826eee92c56edcda7ff190f2cf52115c49eadb2c2da8063e2673a8c2" -dependencies = [ - "libc", - "windows-sys", -] - [[package]] name = "if-watch" version = "3.0.0" @@ -1902,7 +1892,7 @@ dependencies = [ "core-foundation", "fnv", "futures", - "if-addrs 0.7.0", + "if-addrs", "ipnet", "log", "rtnetlink", @@ -1970,7 +1960,6 @@ dependencies = [ "either", "env_logger 0.10.0", "futures", - "if-addrs 0.8.0", "libp2p", "log", "rand 0.8.5", @@ -2153,9 +2142,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multiaddr", - "parking_lot 0.12.1", "pin-project", - "smallvec", "tokio", ] @@ -2232,7 +2219,6 @@ name = "libp2p-dcutr" version = "0.9.0" dependencies = [ "asynchronous-codec", - "bytes", "clap 4.1.6", "either", "env_logger 0.10.0", @@ -2613,13 +2599,11 @@ dependencies = [ "libp2p-tcp", "libp2p-yamux", "log", - "pin-project", "prost", "prost-build", "prost-codec", "quickcheck-ext", "rand 0.8.5", - "smallvec", "static_assertions", "thiserror", "void", @@ -2649,10 +2633,8 @@ dependencies = [ "prost-build", "prost-codec", "rand 0.8.5", - "sha2 0.10.6", "thiserror", "tokio", - "unsigned-varint", "void", ] @@ -2662,7 +2644,6 @@ version = "0.24.0" dependencies = [ "async-std", "async-trait", - "bytes", "env_logger 0.10.0", "futures", "instant", @@ -2671,10 +2652,8 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-yamux", - "log", "rand 0.8.5", "smallvec", - "unsigned-varint", ] [[package]] @@ -2697,11 +2676,9 @@ dependencies = [ "libp2p-swarm-derive", "libp2p-yamux", "log", - "pin-project", "quickcheck-ext", "rand 0.8.5", "smallvec", - "thiserror", "tokio", "void", "wasm-bindgen-futures", @@ -2845,7 +2822,6 @@ dependencies = [ "libp2p-core", "libp2p-muxer-test-harness", "log", - "parking_lot 0.12.1", "thiserror", "yamux", ] @@ -4893,8 +4869,6 @@ checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" dependencies = [ "asynchronous-codec", "bytes", - "futures-io", - "futures-util", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 5bac72b6..fa2a6d62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,9 +112,7 @@ libp2p-uds = { version = "0.38.0", path = "transports/uds", optional = true } libp2p-wasm-ext = { version = "0.39.0", path = "transports/wasm-ext", optional = true } libp2p-yamux = { version = "0.43.0", path = "muxers/yamux", optional = true } multiaddr = { version = "0.17.0" } -parking_lot = "0.12.0" pin-project = "1.0.0" -smallvec = "1.6.1" [target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies] libp2p-deflate = { version = "0.39.0", path = "transports/deflate", optional = true } diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index da3cc00a..38c6ea1c 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -9,7 +9,6 @@ anyhow = "1" either = "1.8.0" env_logger = "0.10.0" futures = "0.3.26" -if-addrs = "0.8.0" libp2p = { path = "../", features = ["websocket", "quic", "mplex", "yamux", "tcp", "tokio", "ping", "noise", "tls", "dns", "rsa", "macros", "webrtc"] } log = "0.4" rand = "0.8.5" diff --git a/muxers/yamux/Cargo.toml b/muxers/yamux/Cargo.toml index 742888c1..d5daeee5 100644 --- a/muxers/yamux/Cargo.toml +++ b/muxers/yamux/Cargo.toml @@ -13,7 +13,6 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.26" libp2p-core = { version = "0.39.0", path = "../../core" } -parking_lot = "0.12" thiserror = "1.0" yamux = "0.10.0" log = "0.4" diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index ac5e0a29..71c75c4d 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -12,7 +12,6 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = "0.6" -bytes = "1" either = "1.6.0" futures = "0.3.26" futures-timer = "3.0" diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 4a92f82b..9a8255f4 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -20,11 +20,9 @@ instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } log = "0.4" -pin-project = "1" prost-codec = { version = "0.3", path = "../../misc/prost-codec" } prost = "0.11" rand = "0.8.4" -smallvec = "1.6.1" static_assertions = "1" thiserror = "1.0" void = "1" diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index 8238eaa4..d8da3b29 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -22,9 +22,7 @@ log = "0.4" prost = "0.11" prost-codec = { version = "0.3.0", path = "../../misc/prost-codec" } rand = "0.8" -sha2 = "0.10" thiserror = "1" -unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } void = "1" [dev-dependencies] diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index 2e010fd5..20daa13f 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -12,15 +12,12 @@ categories = ["network-programming", "asynchronous"] [dependencies] async-trait = "0.1" -bytes = "1" futures = "0.3.26" instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../../core" } libp2p-swarm = { version = "0.42.0", path = "../../swarm" } -log = "0.4.11" rand = "0.8" smallvec = "1.6.1" -unsigned-varint = { version = "0.7", features = ["std", "futures"] } [dev-dependencies] async-std = "1.6.2" diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 34ef4232..8c6d12e5 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -19,10 +19,8 @@ instant = "0.1.11" libp2p-core = { version = "0.39.0", path = "../core" } libp2p-swarm-derive = { version = "0.32.0", path = "../swarm-derive", optional = true } log = "0.4" -pin-project = "1.0.0" rand = "0.8" smallvec = "1.6.1" -thiserror = "1.0" void = "1" wasm-bindgen-futures = { version = "0.4.34", optional = true } getrandom = { version = "0.2.3", features = ["js"], optional = true } # Explicit dependency to be used in `wasm-bindgen` feature