zero2prod/Cargo.toml
2024-03-24 15:17:19 +02:00

50 lines
1.2 KiB
TOML

[package]
name = "zero2prod"
version = "0.1.0"
edition = "2021"
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "zero2prod"
[dependencies]
axum = "0.7"
chrono = { version = "0.4", features = ["serde", "clock"] }
config = "0.14"
serde = { version = "1", features = ["derive"] }
sqlx = { version = "0.7", features = [
"runtime-tokio",
"tls-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate",
] }
tokio = { version = "1.36", features = ["full"] }
uuid = { version = "1.8", features = ["v4", "serde"] }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
tower-http = { version = "0.5", features = ["trace"] }
tracing-bunyan-formatter = "0.3"
tracing-log = "0.2"
secrecy = { version = "0.8", features = ["serde"] }
[dev-dependencies]
reqwest = "0.12"
once_cell = "1.19"
[package.metadata.clippy]
warn = [
"clippy::pedantic",
"clippy::nursery",
"clippy::unwrap_used",
"clippy::expect_used",
]