-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (53 loc) · 1.73 KB
/
Cargo.toml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[workspace]
members = ["tailforward-cfg"]
[package]
name = "tailforward"
version = "0.7.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.7" }
chrono = { version = "0.4", default-features = false, features = ["serde", "clock"] }
color-eyre = "0.6"
tailforward-cfg = { path = "tailforward-cfg" }
hmac = "0.12"
secrecy = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
thiserror = "1"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.6", features = ["trace"] }
tracing = "0.1"
tracing-error = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-tree = "0.2"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
hex = "0.4"
tap = "1"
camino = { version = "1", features = ["serde1"] }
config = "0.14"
tracing-opentelemetry = "0.27"
opentelemetry-otlp = "0.26"
opentelemetry = { version = "0.26" }
opentelemetry_sdk = { version = "0.26", features = ["rt-tokio"] }
once_cell = "1"
derive_more = "0.99"
[dev-dependencies]
pretty_assertions = "1"
test-case = "3"
proptest = "1"
test-strategy = "0.3"
[profile.dev.package.backtrace]
opt-level = 3 # Otherwise color-eyre has poor performance
[build-dependencies]
tailforward-cfg = { path = "tailforward-cfg" }
serde = "1.0"
toml = "0.8"
camino = { version = "1" }
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
missing_const_for_fn = "deny" # `const fn` can be considered as pure function; pure functions are easier to reason about, so we want to mark things as `const fn` when we can