Cargo Features
const-addrs has no features set by default.
[dependencies]
const-addrs = { version = "0.1.1", features = ["ipnet", "mac", "document-features"] }
- default
-
The crate provides a set of optional features that can be enabled in your
cargo.toml
file.By default, only generate stdlib types
- ipnet
-
enables generation of
ipnetwork
typesEnables ipnetwork
- mac
-
enables generation of
macaddr
typesEnables macaddr
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml