Cargo Features
[dependencies]
zettabgp = { version = "0.3.4", default-features = false, features = ["serialization"] }
- default = serialization
-
The
serialization
feature is set by default wheneverzettabgp
is added without
somewhere in the dependency tree.default-features = false - serialization default = serde
-
Affects
evpn::EVPNESI
,evpn::BgpEVPN1
,evpn::BgpEVPN2
,evpn::BgpEVPN3
,evpn::BgpEVPN4
,evpn::BgpEVPN5
,evpn::BgpEVPN
,flowspec::FS6
,flowspec::FSV4U
,flowspec::FSOperValItem
,flowspec::FSOperMaskItem
,ipv4::BgpAddrV4
,ipv4::BgpIPv4RD
,ipv6::BgpAddrV6
,ipv6::BgpIPv6RD
,mac::MacAddress
,mdt::BgpMdtV4
,mdt::BgpMdtV6
,afi::BgpAddr
,afi::BgpAddrs
…
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.