-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (35 loc) · 1.21 KB
/
Cargo.toml
File metadata and controls
40 lines (35 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "statsdproxy"
authors = ["Sentry <oss@sentry.io>"]
description = "A proxy for transforming, pre-aggregating and routing statsd metrics"
repository = "https://github.com/getsentry/statsdproxy"
version = "0.4.1"
edition = "2021"
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.0"
clap = { version = "4.3.23", features = ["derive"], optional = true }
crc32fast = "1.3.2"
env_logger = { version = "0.11.5", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_yaml = { version = "0.9", optional = true }
cadence = { version = "1.0.0", optional = true }
log = "0.4"
signal-hook = { version = "0.3.17", optional = true }
thread_local = { version = "1.1.7", optional = true }
rand = { version = "0.8.5", features = ["small_rng"] }
[features]
default = ["cli"]
# opt out of cli feature to get rid of CLI dependencies
cli = [
"dep:clap",
"dep:serde",
"dep:serde_yaml",
"dep:signal-hook",
"dep:env_logger",
]
# opt into cadence feature to enable cadence adapter
cadence = ["dep:cadence", "dep:thread_local"]
[dev-dependencies]
insta = { version = "1.31.0", features = ["yaml"] }