Fix compilation in certain crates

This commit is contained in:
Ivan Boldyrev
2023-10-11 13:16:19 +04:00
parent 9c3fd0ef2b
commit 7fbd4f1e56
3 changed files with 3 additions and 6 deletions

View File

@ -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" }

View File

@ -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" }

View File

@ -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.