mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-21 16:21:01 +00:00
64 lines
1.7 KiB
TOML
64 lines
1.7 KiB
TOML
[package]
|
|
name = "zero2prod"
|
|
version = "0.1.0"
|
|
authors = ["LukeMathWalker <rust@lpalmieri.com>"]
|
|
edition = "2021"
|
|
|
|
# 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]
|
|
actix-web = "4"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
|
serde = "1.0.115"
|
|
config = { version = "0.14", default-features = false, features = ["yaml"] }
|
|
sqlx = { version = "0.8", default-features = false, features = [
|
|
"runtime-tokio-rustls",
|
|
"macros",
|
|
"postgres",
|
|
"uuid",
|
|
"chrono",
|
|
"migrate",
|
|
] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
|
|
reqwest = { version = "0.12", default-features = false, features = [
|
|
"json",
|
|
"rustls-tls",
|
|
"cookies",
|
|
] }
|
|
log = "0.4"
|
|
tracing = "0.1.19"
|
|
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
|
tracing-bunyan-formatter = "0.3.1"
|
|
thiserror = "1.0.24"
|
|
serde-aux = "4"
|
|
unicode-segmentation = "1.7.1"
|
|
rand = { version = "0.8", features = ["std_rng"] }
|
|
anyhow = "1.0.40"
|
|
base64 = "0.22.0"
|
|
argon2 = { version = "0.5", features = ["std"] }
|
|
validator = "0.18"
|
|
tracing-log = "0.2.0"
|
|
tracing-actix-web = "0.7"
|
|
secrecy = { version = "0.8", features = ["serde"] }
|
|
actix-web-flash-messages = { version = "0.5", features = ["cookies"] }
|
|
actix-session = { version = "0.10", features = ["redis-session-rustls"] }
|
|
serde_json = "1"
|
|
|
|
[dev-dependencies]
|
|
quickcheck = "0.9.2"
|
|
quickcheck_macros = "0.9.1"
|
|
fake = "~2.3.0"
|
|
wiremock = "0.6"
|
|
serde_json = "1.0.61"
|
|
serde_urlencoded = "0.7.1"
|
|
linkify = "0.10"
|
|
claims = "0.7"
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
once_cell = "1.7.2"
|