-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (39 loc) · 1.06 KB
/
Copy pathCargo.toml
File metadata and controls
44 lines (39 loc) · 1.06 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
41
42
43
[package]
name = "api-starter"
version = "0.1.0"
edition = "2024"
description = "Starter template to write an API"
license = "MIT"
[[bin]]
name = "server"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.103"
axum = { version = "0.8.9", features = ["macros"] }
axum-extra = { version = "0.12.6", features = ["typed-header"] }
tower = { version = "0.5.3", features = ["util"] }
tower-http = { version = "0.7.0", features = [
"cors",
"trace",
"request-id",
"timeout",
] }
tokio = { version = "1.52.3", features = ["full"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
thiserror = "2.0.18"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] }
config = "0.15.25"
validator = { version = "0.20.0", features = ["derive"] }
uuid = { version = "1.23.2", features = ["v4", "serde"] }
chrono = { version = "0.4.45", features = ["serde"] }
[dev-dependencies]
axum-test = "21.0.0"
tokio-test = "0.4.5"
serde_json = "1.0.150"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true