Cargo Features

[dependencies]
swarm-nl = { version = "0.2.1", default-features = false, features = ["tokio-runtime", "async-std-runtime", "test-dialing-node", "test-client-node", "test-writing-node", "test-query-node", "test-broadcast-node"] }
default = tokio-runtime

The tokio-runtime feature is set by default whenever swarm-nl is added without default-features = false somewhere in the dependency tree.

tokio-runtime default = tokio
async-std-runtime = async-std
test-listening-node test-dialing-node
test-server-node test-client-node
test-reading-node test-writing-node
test-subscribe-node test-query-node
test-broadcast-node

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

async-std async-std-runtime?
tokio tokio-runtime