mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-30 16:31:57 +00:00
Add rand feature to tests where required
This commit is contained in:
@@ -47,6 +47,7 @@ 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" }
|
||||
|
@@ -39,6 +39,7 @@ 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" }
|
||||
|
@@ -35,6 +35,7 @@ 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.
|
||||
|
@@ -31,6 +31,7 @@ void = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10.0"
|
||||
libp2p-identity = { workspace = true, features = ["rand"] }
|
||||
libp2p-ping = { workspace = true }
|
||||
libp2p-plaintext = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["macros", "async-std"] }
|
||||
|
Reference in New Issue
Block a user