This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
43 lines (40 loc) · 1.45 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
[package]
name = "axum-rest-example"
version = "0.1.0"
edition = "2018"
publish = false
[dependencies]
anyhow = "1.0.61"
axum = { version = "0.5.15", features = ["headers"] }
base-x = "0.2.11"
chrono = { version = "^0.4.22", features = ["serde"] }
config = { version = "0.13.2", features = ["toml"], default-features = false }
hyper = { version = "0.14.20", features = [] }
opentelemetry = { version = "0.17.0", optional = true, features = ["rt-tokio", "metrics", "trace"] }
opentelemetry-otlp = { version = "0.10.0", optional = true, features = ["metrics", "tls", "trace"], default-features = false }
secrecy = { version = "^0.8.0", features = ["serde"] }
serde = { version = "1.0.143", features = ["derive"] }
serde_json = "1.0.83"
thiserror = "1.0.32"
tokio = { version = "1.21.0", features = ["macros", "rt-multi-thread", "signal"] }
tower = { version = "0.4.13", features = [] }
tower-http = { version = "0.3.4", features = ["trace"] }
tracing = "0.1.36"
tracing-opentelemetry = "0.17.4"
tracing-subscriber = { version = "0.3.15", features = ["env-filter", "json"] }
url = { version = "^2.2.2", features = ["serde"] }
uuid = { version = "1.1.2", features = ["serde", "v4"] }
[dependencies.sqlx]
version = "=0.6.1"
features = [
"chrono",
"migrate",
"offline",
"postgres",
"runtime-tokio-rustls",
"tls",
"uuid",
]
[features]
default = ["tracing/release_max_level_debug"]
otel = ["opentelemetry", "opentelemetry-otlp", "opentelemetry-otlp/tonic"]