zero2prod_axum/Cargo.toml

57 lines
1.3 KiB
TOML
Raw Normal View History

2023-07-01 20:34:21 +02:00
[package]
name = "learn_axum"
2024-01-29 22:18:05 +01:00
version = "0.2.0"
2023-07-01 20:34:21 +02:00
edition = "2021"
[lib]
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "learn_axum"
2023-07-01 20:34:21 +02:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2023-12-23 14:12:25 +01:00
tokio = { version = "1.35.1", features = ["full"] }
2023-12-23 14:10:35 +01:00
hyper = { version = "1.1.0", features = ["full"] }
2023-11-25 08:48:09 +01:00
# Serde / json
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
2024-02-07 13:40:54 +01:00
serde-aux = "4"
# serde_with = "3"
2023-11-25 08:48:09 +01:00
# Axum
2023-12-15 23:13:00 +01:00
axum = { version = "0.7" }
2024-02-05 11:33:13 +01:00
tower = { version = "0.4" }
tower-http = { version = "0.5", features = ["trace", "request-id", "util"] }
2023-12-15 23:13:00 +01:00
# tower-cookies = "0.10"
2024-01-01 14:34:42 +01:00
# Others
2024-02-04 13:48:31 +01:00
config = "0.14"
2024-02-04 14:03:52 +01:00
uuid = { version = "1", features = ["v4", "fast-rng"] }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
2024-01-30 21:43:32 +01:00
tracing = { version = "0.1", features = ["log"] }
2024-02-04 13:48:31 +01:00
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
tracing-bunyan-formatter = "0.3"
tracing-log = "0.2"
2024-02-04 14:03:52 +01:00
secrecy = { version = "0.8", features = ["serde"] }
unicode-segmentation = "1"
strum_macros = "0.26"
# async-trait = "0.1"
# strum_macros = "0.25"
2023-07-01 20:34:21 +02:00
2024-01-01 14:34:42 +01:00
[dependencies.sqlx]
version = "0.7"
default-features = false
features = [
"runtime-tokio-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate",
2024-01-01 14:34:42 +01:00
]
2023-07-01 20:34:21 +02:00
[dev-dependencies]
reqwest = "0.11"
2024-02-04 13:48:31 +01:00
once_cell = "1"