Cargo Features

bgpkit-commons = { version = "0.5.2", default-features = false, features = ["native-tls", "rustls", "cli"] }
default cli? = rustls

The rustls feature is set by default whenever bgpkit-commons is added without default-features = false somewhere in the dependency tree.


Enables native-tls of oneio


optional flags to select native-tls or rust-tls

rustls default

Enables rustls of oneio

cli = clap, default

Required by the binary

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.

clap cli?