Cargo Features
[dependencies]
libp2p-autonat = { version = "0.13.0", default-features = false, features = ["v1", "v2"] }
- default = v1, v2
-
These default features are set whenever
libp2p-autonat
is added without
somewhere in the dependency tree.default-features = false - v1 default
-
Enables async-trait, libp2p-request-response, and web-time
Affects
libp2p-autonat::v1
… - v2 default
-
Enables bytes, either, futures-bounded, rand_core, thiserror ^1.0.52, and void
Affects
libp2p-autonat::v2
…