# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "statsdproxy" version = "0.2.0" authors = ["Sentry "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A proxy for transforming, pre-aggregating and routing statsd metrics" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/getsentry/statsdproxy" [lib] name = "statsdproxy" path = "src/lib.rs" [[bin]] name = "statsdproxy" path = "src/main.rs" [dependencies.anyhow] version = "1.0.0" [dependencies.cadence] version = "1.0.0" optional = true [dependencies.clap] version = "4.3.23" features = ["derive"] optional = true [dependencies.crc32fast] version = "1.3.2" [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8.5" features = ["small_rng"] [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.signal-hook] version = "0.3.17" optional = true [dependencies.thread_local] version = "1.1.7" optional = true [dev-dependencies.insta] version = "1.31.0" features = ["yaml"] [features] cadence = [ "dep:cadence", "dep:thread_local", ] cli = [ "dep:clap", "dep:serde", "dep:serde_yaml", "dep:signal-hook", "dep:env_logger", ] default = ["cli"]