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

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