-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (30 loc) · 943 Bytes
/
Cargo.toml
File metadata and controls
39 lines (30 loc) · 943 Bytes
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
[package]
name = "rs-api"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "job"
path = "src/job.rs"
[dependencies]
axum = "0.8.8"
tokio = { version = "1.49.0", features = ["full"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
serde_yaml = "0.9.33"
once_cell = "1.21.3"
# redis操作库
redis = { version = "1.0.2", features = ["r2d2", "tokio-comp", "cluster", "cluster-async", "json"] }
# r2d2用于redis连接池管理
r2d2 = "0.8.10"
# sqlx用于数据库操作
sqlx = { version = "0.8.6", features = ["runtime-tokio", "tls-native-tls", "mysql", "chrono", "time"] }
#uuid
uuid = { version = "1.20.0", features = ["serde", "v4"] }
#validator
validator = { version = "0.20.0", features = ["derive"] }
async-trait = "0.1.89"
thiserror = "2.0.18"
# body util
http-body-util = "0.1.2"
anyhow = "1.0.100"