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 default-features = false somewhere in the dependency tree.

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