-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (37 loc) · 1.02 KB
/
Cargo.toml
File metadata and controls
41 lines (37 loc) · 1.02 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
[package]
name = "simprint-update-server"
version = "0.1.0"
edition = "2021"
[lib]
name = "simprint_update_server"
path = "src/lib.rs"
[[bin]]
name = "update-gateway"
path = "src/main.rs"
[dependencies]
# Web 框架与中间件
axum = { version = "0.8", features = ["macros"] }
tower = "0.5.2"
tower-http = { version = "0.6", features = ["cors", "default"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
config = "0.15"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
once_cell = "1.20"
thiserror = "2"
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
sqlx = { version = "0.8", features = [
"postgres",
"runtime-tokio",
"chrono",
"json",
"uuid",
] }
redis = { version = "0.31", features = ["tokio-comp", "connection-manager"] }
[profile.dev]
incremental = false
debug = 1