mailApp/Cargo.toml
Nick Bland a746b45f78
Implement changes to allow database connection for insertions
Also updated tests to reflect the new PgPool format being used. Tests now create a mock database on creation to determine if it works before removing it. Up to Chapter 4.
2021-11-08 15:41:52 +10:00

33 lines
532 B
TOML

[package]
name = "mail_app"
version = "0.1.0"
authors = ["Nick Bland"]
edition = "2021"
[lib]
path = "src/lib.rs"
[dependencies]
actix-web = "4.0.0-beta.8"
config = "0.11.0"
serde = { version = "1", features = ["derive"]}
uuid = { version = "0.8.1", features = ["v4"] }
chrono = "0.4.15"
[dependencies.sqlx]
version = "0.5.7"
default-features = false
features = [
"runtime-actix-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate"
]
[dev-dependencies]
actix-rt = "2"
reqwest = "0.11"
tokio = "1"