# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "zero2prod" version = "0.1.0" authors = ["Erick Mwombeki "] description = "A short description of my package" license = "MIT OR Apache-2.0" [lib] path = "src/lib.rs" [[bin]] name = "zero2prod" path = "src/main.rs" [dependencies.actix-session] version = "0.7" registry-index = "https://github.com/rust-lang/crates.io-index" features = ["redis-rs-tls-session"] [dependencies.actix-web] version = "4.3.1" registry-index = "https://github.com/rust-lang/crates.io-index" [dependencies.actix-web-flash-messages] version = "0.4" features = ["cookies"] [dependencies.actix-web-lab] version = "0.19" [dependencies.anyhow] version = "1.0.40" [dependencies.argon2] version = "0.5.1" features = ["std"] [dependencies.chrono] version = "0.4.15" [dependencies.config] version = "0.13" features = ["yaml"] default-features = false [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" features = ["std_rng"] [dependencies.reqwest] version = "0.11" features = [ "json", "rustls-tls", "cookies", ] default-features = false [dependencies.secrecy] version = "0.8" features = ["serde"] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-aux] version = "4" [dependencies.sqlx] version = "0.6" features = [ "runtime-actix-rustls", "macros", "postgres", "uuid", "chrono", "migrate", "offline", ] default-features = false [dependencies.thiserror] version = "1.0.24" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-actix-web] version = "0.7.5" [dependencies.tracing-bunyan-formatter] version = "0.3" [dependencies.tracing-log] version = "0.1" [dependencies.tracing-subscriber] version = "0.3.17" features = [ "registry", "env-filter", ] [dependencies.unicode-segmentation] version = "1.7.1" [dependencies.uuid] version = "1.4.1" features = [ "v4", "serde", ] [dependencies.validator] version = "0.16" [dev-dependencies.claims] version = "0.7.0" [dev-dependencies.fake] version = "~2.3.0" [dev-dependencies.linkify] version = "0.10" [dev-dependencies.once_cell] version = "1" [dev-dependencies.quickcheck] version = "0.9.2" [dev-dependencies.quickcheck_macros] version = "0.9.1" [dev-dependencies.serde_json] version = "1.0.61" [dev-dependencies.serde_urlencoded] version = "0.7.1" [dev-dependencies.wiremock] version = "0.5"