-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
45 lines (37 loc) · 1001 Bytes
/
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
[package]
name = "rust-http-starter"
version = "0.1.0"
edition = "2021"
authors = [
"Harry Bairstow <[email protected]>"
]
build = "build.rs"
[dependencies]
tokio = { version = "1", features = ["full"] }
axum = { version = "0.6", features = ["json"] }
tower = "0.4"
tower-http = { version = "0.3", features = ["trace"] }
hyper = "0.14"
# Database
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres", "json", "chrono", "macros"] }
# Seralisation
serde = { version = "1.0", features = ["derive"] }
# Env Vars
dotenv = "0.15"
envy = "0.4"
# Telemetry
opentelemetry = { version = "0.17", features = ["trace", "metrics", "rt-tokio"] }
opentelemetry-otlp = { version = "0.10", features = ["metrics", "trace"] }
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-opentelemetry = "0.17"
# Misc
build-info = "0.0"
log = "0.4"
thiserror = "1.0"
async-trait = "0.1"
[dev-dependencies]
test-context = "0.1"
reqwest = "0.11"
[build-dependencies]
build-info-build = "0.0"