-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (34 loc) · 921 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
[package]
name = "axum_demo"
version = "0.5.4"
edition = "2021"
authors = ["Yusong Lai <yusong.lai@icloud.com>"]
license = "MIT OR Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
path = "src/main.rs"
name = "axum-demo"
[profile.release]
lto = "thin"
panic = "abort"
strip = "symbols"
[dependencies]
# web serivce
axum = "0.7.5"
tower = { version = "0.5.0", features = ["timeout", "buffer"] }
# error handling
anyhow = "1.0.86"
# serialization
serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"
# async
tokio = { version = "1.39.3", features = ["full"] }
futures = "0.3.30"
# log
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
# utilities
uuid = { version = "1.10.0", features = ["v4", "serde"] }
ahash = { version = "0.8.11", features = ["serde"] }
# database
mongodb = "3.0.1"