Cargo Features
[dependencies]
ant-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 wheneverant-libp2p-swarm-test
is added without
somewhere in the dependency tree.default-features = false - async-std default
-
Enables async-std of ant-libp2p-swarm, async-io of ant-libp2p-tcp
Affects
ant-libp2p-swarm-test::SwarmExt.new_ephemeral
… - tokio
-
Enables tokio of ant-libp2p-swarm and ant-libp2p-tcp
Affects
ant-libp2p-swarm-test::SwarmExt.new_ephemeral_tokio
…