Cargo Features
[dependencies]
libp2p-swarm-test = { version = "0.5.0", default-features = false, features = ["async-std", "tokio"] }
- default = async-std
-
The
async-std
feature is set by default wheneverlibp2p-swarm-test
is added without
somewhere in the dependency tree.default-features = false - async-std default
-
Enables async-std of libp2p-swarm, async-io of libp2p-tcp
Affects
libp2p-swarm-test::SwarmExt.new_ephemeral
… - tokio
-
Enables tokio of libp2p-swarm and libp2p-tcp
Affects
libp2p-swarm-test::SwarmExt.new_ephemeral_tokio
…