Cargo Features

statsdproxy = { version = "0.1.2", default-features = false, features = ["cli", "cadence-adapter", "sentry"] }
default = cli

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

cli default = clap, serde, serde_yaml, signal-hook

opt out of cli feature to get rid of CLI dependencies

Affects middleware::server

cadence-adapter = cadence, thread_local

opt into cadence feature to enable cadence adapter

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
serde cli
serde_yaml cli
cadence cadence-adapter?

Enables cadence ^0.29.0

Affects statsdproxy::cadence

signal-hook cli
thread_local cadence-adapter?
sentry implicit feature

Enables sentry ^0.32.1


Sentry ( client for rust ;)

Affects middleware::sentry