-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
50 lines (36 loc) · 994 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
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "axum-http-auth-example"
version = "0.0.0"
edition = "2021"
[dependencies]
# Web Framework:
axum = { version = "0.6.0", features = ["http2"] }
# Middleware:
tower = { version = "0.4.13", features = ["util", "timeout"] }
tower-http = { version = "0.3.4", features = ["fs", "trace"] }
# Async Runtime:
tokio = { version = "1.21.2", features = ["full"] }
tokio-postgres = "0.7.7"
# Database:
bb8 = "0.8.0"
bb8-postgres = "0.8.1"
# Sessions:
axum-sessions = { version = "0.4" }
async-redis-session = "0.2.2"
# password hashing:
rust-argon2 = "1.0"
# Logging:
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Errors:
thiserror = "1.0.37"
# Environment variables:
envy = "0.4.2"
# Serialisation/Deserialisation:
serde = { version = "1.0", features = ["derive"] }
# Templating:
askama = "0.11.1"
# Validation:
validator = { version = "0.16", features = ["derive"] }
# Utils
rand = { version = "0.8.5", features = ["min_const_gen"] }