Cargo Features
libp2p-dns has no features set by default.
[dependencies]
libp2p-dns = { version = "0.42.0", features = ["async-std", "tokio"] }
- async-std = async-std-resolver
-
Affects
libp2p-dns::async_std
… - tokio
-
Enables tokio-runtime of hickory-resolver
Affects
libp2p-dns::tokio
…
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.