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