Cargo Features
[dependencies]
statsdproxy = { version = "0.2.0", default-features = false, features = ["cli", "cadence"] }
- default = cli
-
The
cli
feature is set by default wheneverstatsdproxy
is added without
somewhere in the dependency tree.default-features = false - cli default
-
opt out of cli feature to get rid of CLI dependencies
Enables clap, env_logger, serde, serde_yaml, and signal-hook
Affects
middleware::server
… - cadence
-
opt into cadence feature to enable cadence adapter
Enables cadence and thread_local
Affects
statsdproxy::cadence
…