Cargo Features
[dependencies]
netgauze-bgp-pkt = { version = "0.5.0", default-features = false, features = ["serde", "codec", "fuzz", "bench"] }
- default = serde
-
The
serde
feature is set by default whenevernetgauze-bgp-pkt
is added without
somewhere in the dependency tree.default-features = false - serde default = byteorder, netgauze-locate, netgauze-parse-utils, netgauze-serde-macros, nom
-
Affects
netgauze-bgp-pkt::wire
… - codec = bytes, log, tokio-util
-
Affects
netgauze-bgp-pkt::codec
… - fuzz = arbitrary, arbitrary_ext
- bench = criterion
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.
- netgauze-locate serde
- netgauze-parse-utils serde
- netgauze-serde-macros serde
- nom serde
- byteorder serde
- arbitrary_ext fuzz?
- log codec?
- tokio-util codec?
- bytes codec?
- arbitrary fuzz?
- criterion bench?
-
Enables criterion
Dev dep for bench