mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-03 14:46:31 +00:00
a702e3a1d0
Use a custom sink instead of different log levels to silence logs in tests.
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "zero2prod"
|
|
version = "0.1.0"
|
|
authors = ["LukeMathWalker <rust@lpalmieri.com>"]
|
|
edition = "2018"
|
|
|
|
# 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-http = "=3.0.0-beta.5"
|
|
actix-service = "=2.0.0-beta.5"
|
|
actix-web = "=4.0.0-beta.5"
|
|
|
|
serde = "1.0.115"
|
|
config = { version = "0.10.1", default-features = false, features = ["yaml"] }
|
|
sqlx = { version = "0.5.1", default-features = false, features = [ "runtime-actix-rustls", "macros", "postgres", "uuid", "chrono", "migrate", "offline"] }
|
|
uuid = { version = "0.8.1", features = ["v4"] }
|
|
chrono = "0.4.15"
|
|
tracing = "0.1.19"
|
|
tracing-futures = "0.2.4"
|
|
tracing-subscriber = { version = "0.2.12", features = ["registry", "env-filter"] }
|
|
tracing-bunyan-formatter = "0.1.6"
|
|
tracing-log = "0.1.1"
|
|
tracing-actix-web = "0.3.0-beta.2"
|
|
serde-aux = "1.0.1"
|
|
unicode-segmentation = "1.7.1"
|
|
validator = "0.12.0"
|
|
|
|
[dev-dependencies]
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
claim = "0.4.0"
|
|
quickcheck = "0.9.2"
|
|
quickcheck_macros = "0.9.1"
|
|
fake = "~2.3.0"
|
|
actix-rt = "2"
|
|
tokio = "1"
|
|
once_cell = "1.7.2"
|