Cargo Features
[dependencies]
bgpkit-parser = { version = "0.10.11", default-features = false, features = ["parser", "cli", "rislive", "serde", "native-tls", "rustls", "xz", "lz"] }
- default = parser, rustls
-
These default features are set whenever
bgpkit-parser
is added without
somewhere in the dependency tree.default-features = false - parser default cli? rislive? = bytes, chrono, regex
-
Affects
bgpkit-parser::encoder
,bgpkit-parser::error
,bgpkit-parser::parser
… - cli = clap, env_logger, parser, serde, serde_json
-
Required by the binary
- rislive = hex, parser, serde, serde_json
-
Affects
parser::rislive
… - serde cli? rislive?
-
Enables serde
Core BGP structs
BGP models
- native-tls
-
Enables native-tls and remote of oneio
- rustls default
- xz
-
optional compression algorithms support
- lz
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 parser
-
Enables bytes
Parser dependencies
- hex rislive?
-
Enables hex
bmp/openbmp parsing
- oneio lz? native-tls? rustls xz?
- regex parser
-
Enables regex
used in parser filter
- chrono parser
-
Enables chrono
parser filter
- serde_json cli? rislive?
-
Enables serde_json
RIS Live parsing
- env_logger cli?
-
Enables env_logger
CLI dependencies
- clap cli?