Cargo Features
[dependencies]
mainline = { version = "5.2.0", default-features = false, features = ["node", "async", "full"] }
- node async?
-
Include [Dht] node.
Enables flume
node
dependencies - async full = node
-
Enable [Dht::as_async()] to use [async_dht::AsyncDht].
Enables async of flume and futures-lite
async
dependenciesAffects
mainline::async_dht
… - default = full
-
The
full
feature is set by default whenevermainline
is added without
somewhere in the dependency tree.default-features = false - full default = async