Cargo Features

[dependencies]
onetun = { version = "0.3.7", default-features = false, features = ["pcap", "bin"] }
default = bin

The bin feature is set by default whenever onetun is added without default-features = false somewhere in the dependency tree.

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