mirror of
https://github.com/kristoferssolo/axum-template.git
synced 2025-10-21 17:20:35 +00:00
61 lines
1.3 KiB
TOML
61 lines
1.3 KiB
TOML
[package]
|
|
name = "{{project-name}}"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["{{authors}}"]
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
path = "src/main.rs"
|
|
name = "{{project-name}}"
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
chrono = { version = "0.4", features = ["serde", "clock"] }
|
|
config = { version = "0.15", features = ["toml"], default-features = false }
|
|
serde = { version = "1", features = ["derive"] }
|
|
sqlx = { version = "0.8", default-features = false, features = [
|
|
"runtime-tokio",
|
|
"tls-rustls",
|
|
"macros",
|
|
"postgres",
|
|
"uuid",
|
|
"chrono",
|
|
"migrate",
|
|
] }
|
|
tokio = { version = "1.39", features = [
|
|
"rt",
|
|
"macros",
|
|
"tracing",
|
|
"rt-multi-thread",
|
|
] }
|
|
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.6", features = ["trace"] }
|
|
tracing-bunyan-formatter = "0.3"
|
|
tracing-log = "0.2"
|
|
secrecy = { version = "0.10", features = ["serde"] }
|
|
serde-aux = "4"
|
|
reqwest = { version = "0.12", default-features = false, features = [
|
|
"json",
|
|
"rustls-tls",
|
|
] }
|
|
askama = { version = "0.12", features = ["with-axum"] }
|
|
|
|
|
|
[dev-dependencies]
|
|
once_cell = "1.19"
|
|
fake = "3.1"
|
|
quickcheck = "1.0"
|
|
quickcheck_macros = "1.0"
|
|
wiremock = "0.6"
|
|
serde_json = "1"
|
|
|
|
[lints.clippy]
|
|
pedantic = "warn"
|
|
nursery = "warn"
|
|
unwrap_used = "warn"
|