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 whenever ant-libp2p-swarm-test is added without default-features = false somewhere in the dependency tree.

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