minhtrannhat 5e6e9c2efe
feat(test): spin up new logical database tests
- Tests will use new database every run
- Added chrono and uuid dependencies.
- Updated documentation
2024-05-04 15:27:47 -04:00

37 lines
763 B
TOML

[package]
name = "email_newsletter_api"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
edition = "2021"
[[bin]]
path = "src/main.rs"
name = "email_newsletter_api"
edition = "2021"
[dependencies]
actix-web = "4.5.1"
reqwest = "0.12.2"
serde = { version = "1.0.197", features = ["derive"] }
tokio = { version = "1.36.0", features = ["full"] }
config = "0.13"
uuid = { version = "1.8.0", features = ["v4"] }
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
[dependencies.sqlx]
version = "0.7"
default-features = false
features = [
"runtime-tokio-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate"
]