Cargo Features
[dependencies]
onetun = { version = "0.3.10", default-features = false, features = ["pcap", "bin"] }
- default = bin
-
The
bin
feature is set by default wheneveronetun
is added without
somewhere in the dependency tree.default-features = false - pcap bin
-
Affects
onetun::pcap
… - bin default = clap, pcap, pretty_env_logger
-
Enables rt-multi-thread of tokio
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 bin
-
Enables clap
bin-only dependencies
- pretty_env_logger bin
-
Enables pretty_env_logger ^0.4