Cargo Features
[dependencies]
routecore = { version = "0.5.0", default-features = false, features = ["bgp", "bmp", "fsm", "mrt", "bgpsec", "arbitrary"] }
- default = bgp
-
The
bgp
feature is set by default wheneverroutecore
is added without
somewhere in the dependency tree.default-features = false - bgp default bmp? mrt? = bytes, const-str, log, octseq
- bmp = bgp, chrono
-
Affects
routecore::bmp
… - fsm mrt? = tokio
-
Affects
bgp::fsm
… - mrt = bgp, fsm, rayon, serde
-
Affects
routecore::mrt
… - bgpsec
-
Affects
routecore::bgpsec
…
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.
- bytes bgp
- chrono bmp?
- const-str bgp
- log bgp
- octseq bgp
-
Enables octseq ^0.4.0
- serde mrt?
-
Affects
aspath::SerializeForOperators
,communities::SerializeForOperators
… - tokio fsm?
- rayon mrt?
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data