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 default-features = false somewhere in the dependency tree.

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

and serde of ipnet

BGP models

native-tls

Enables native-tls and remote of oneio

rustls default

Enables remote and rustls of oneio

xz

optional compression algorithms support

Enables xz of oneio

lz

Enables lz of oneio

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?