forked from launchbadge/realworld-axum-sqlx
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
54 lines (44 loc) · 1.35 KB
/
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
51
52
53
54
[package]
name = "realworld-axum-sqlx"
version = "0.1.0"
edition = "2021"
publish = false
authors = [
"Austin Bonander <austin@launchbadge.com>",
"David Pedersen <david.pdrsn@gmail.com>",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Core dependencies: runtime, HTTP framework and database client.
futures = "0.3"
tokio = { version = "1.14.0", features = ["macros", "rt-multi-thread", "signal"] }
axum = { version = "0.7.3", features = ["tower-log"] }
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "postgres", "uuid", "time"] }
# The `clap` beta gives us a much nicer way to define configuration parameters for our application.
clap = { version = "4.0.0", features = ["derive", "env"] }
serde = { version = "1.0.130", features = ["derive"] }
# State of the art password hashing.
argon2 = "0.5"
# axum builds on the types in Tower
tower = "0.4.11"
tower-http = { version = "0.5.0", features = [
"catch-panic",
"compression-full",
"sensitive-headers",
"timeout",
"trace",
] }
jwt = "0.15.0"
hmac = "0.11.0"
sha2 = "0.9.8"
time = "0.3.30"
uuid = { version = "1.0", features = ["serde"] }
# Utility Crates
anyhow = "1.0.48"
async-trait = "0.1.51"
dotenv = "0.15.0"
env_logger = "0.10.0"
itertools = "0.12"
log = "0.4.14"
rand = "0.8.4"
thiserror = "1.0.30"