-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (42 loc) · 1.45 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (42 loc) · 1.45 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
44
45
46
47
48
49
50
51
52
53
[package]
name = "rust-notes-api"
version = "0.1.0"
edition = "2021"
description = "A production-style Notes REST API built with Rust and Axum"
[dependencies]
# ──── Web framework ────
axum = { version = "0.7", features = ["macros"] }
tokio = { version = "1", features = ["full"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }
# ──── Database ────
sea-orm = { version = "1", features = [
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
"with-chrono",
"with-uuid",
] }
# ──── Authentication ────
jsonwebtoken = "9"
argon2 = "0.5"
# ──── Serialization / Validation ────
serde = { version = "1", features = ["derive"] }
serde_json = "1"
validator = { version = "0.18", features = ["derive"] }
# ──── Error handling ────
thiserror = "2"
# ──── Date / Time ────
chrono = { version = "0.4", features = ["serde"] }
# ──── Unique IDs ────
uuid = { version = "1", features = ["v4", "serde"] }
# ──── Logging ────
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
# ──── OpenAPI / Swagger ────
utoipa = { version = "5", features = ["axum_extras", "chrono"] }
utoipa-swagger-ui = { version = "8", features = ["axum"] }
# ──── Environment variables ────
dotenvy = "0.15"
# ──── Async helpers ────
futures = "0.3"