44 lines
1.0 KiB
TOML
44 lines
1.0 KiB
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"] }
|
|
tracing = { version = "0.1.40", features = ["log"] }
|
|
tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter"] }
|
|
tracing-bunyan-formatter = "0.3.9"
|
|
tracing-log = "0.2.0"
|
|
once_cell = "1.19.0"
|
|
secrecy = { version = "0.8.0", features = ["serde"] }
|
|
tracing-actix-web = "0.7.10"
|
|
|
|
[dependencies.sqlx]
|
|
version = "0.7"
|
|
default-features = false
|
|
features = [
|
|
"runtime-tokio-rustls",
|
|
"macros",
|
|
"postgres",
|
|
"uuid",
|
|
"chrono",
|
|
"migrate"
|
|
]
|