diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 99fc32e8..4577b7d5 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -26,7 +26,7 @@ getrandom = "0.2.9" hex_fmt = "0.3.0" instant = "0.1.12" libp2p-core = { workspace = true } -libp2p-identity = { workspace = true } +libp2p-identity = { workspace = true, features = ["rand"] } libp2p-swarm = { workspace = true } log = "0.4.20" quick-protobuf = "0.8" @@ -47,7 +47,6 @@ async-std = { version = "1.6.3", features = ["unstable"] } env_logger = "0.10.0" hex = "0.4.2" libp2p-core = { workspace = true } -libp2p-identity = { workspace = true, features = ["rand"] } libp2p-yamux = { workspace = true } libp2p-noise = { workspace = true } libp2p-swarm-test = { path = "../../swarm-test" } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index a0889419..7e8b67b7 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -22,7 +22,7 @@ libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -libp2p-identity = { workspace = true } +libp2p-identity = { workspace = true, features = ["rand"] } rand = "0.8" sha2 = "0.10.8" smallvec = "1.11.1" @@ -39,7 +39,6 @@ async-std = { version = "1.12.0", features = ["attributes"] } env_logger = "0.10.0" futures-timer = "3.0" libp2p-identify = { path = "../identify" } -libp2p-identity = { workspace = true, features = ["rand"] } libp2p-noise = { workspace = true } libp2p-swarm = { path = "../../swarm", features = ["macros"] } libp2p-swarm-test = { path = "../../swarm-test" } diff --git a/protocols/perf/Cargo.toml b/protocols/perf/Cargo.toml index 7d38d44b..3a40b0de 100644 --- a/protocols/perf/Cargo.toml +++ b/protocols/perf/Cargo.toml @@ -19,7 +19,7 @@ futures = "0.3.28" instant = "0.1.12" libp2p-core = { workspace = true } libp2p-dns = { workspace = true, features = ["tokio"] } -libp2p-identity = { workspace = true } +libp2p-identity = { workspace = true, features = ["rand"] } libp2p-tls = { workspace = true } libp2p-quic = { workspace = true, features = ["tokio"] } libp2p-request-response = { workspace = true } @@ -35,7 +35,6 @@ void = "1" [dev-dependencies] rand = "0.8" -libp2p-identity = { workspace = true, features = ["rand"] } libp2p-swarm-test = { path = "../../swarm-test" } # Passing arguments to the docsrs builder in order to properly document cfg's.