Cargo Features

[dependencies]
statsdproxy = { version = "0.2.0", default-features = false, features = ["cli", "cadence"] }
default = cli

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

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