Zero_to_prod_in_rust/Cargo.toml

55 lines
1.4 KiB
TOML

[package]
name = "zero2prod"
version = "0.1.0"
authors = ["Flavien Henrion <flavien@coincoinmail.fr>"]
edition = "2021"
[lib]
# We could use any path here, but we are following the community convention
# We could specify a library name using the `name` field. If unspecified,
# cargo will default to `package.name`, which is what we want.
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "zero2prod"
[dependencies]
actix-web = "4"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
serde = { version = "1", features = ["derive"]}
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
tracing-bunyan-formatter = "0.3"
tracing-log = "0.1"
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
dotenv = "0.15.0"
clap = { version = "4.0.23", features = ["derive"] }
envy = "0.4.2"
secrecy = { version = "0.8", features = ["serde"] }
tracing-actix-web = "0.6"
unicode-segmentation = "1.10.0"
validator = "0.14"
lettre = { version = "0.10", features = ["tokio1-native-tls", "tokio1"] }
[dependencies.sqlx]
version = "0.6"
default-features = false
features = [
"runtime-tokio-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate",
"offline"
]
[dev-dependencies]
reqwest = "0.11"
once_cell = "1"
claim = "0.5"
fake = "~2.3"
quickcheck = "0.9.2"
quickcheck_macros = "0.9.1"