rust_forum/Cargo.toml

27 lines
775 B
TOML
Raw Normal View History

2024-11-26 22:30:25 +03:00
[package]
name = "rust_forum"
version = "0.1.0"
edition = "2021"
2024-12-03 21:33:42 +03:00
[lints.rust]
unsafe_code = "forbid"
[profile.release]
opt-level = 3
lto = true
overflow-checks = true
codegen-units = 1
panic = "abort"
strip = "symbols"
2024-12-02 23:56:43 +03:00
2024-11-26 22:30:25 +03:00
[dependencies]
axum = "0.7.9"
2024-12-18 04:53:14 +03:00
chrono = { version = "0.4.39", features = ["serde"] }
lettre = { version = "0.11.11", default-features = false, features = ["builder", "smtp-transport", "tokio1-rustls-tls"] }
serde = { version = "1.0.216", features = ["derive"] }
2024-11-26 22:30:25 +03:00
serde_json = "1.0.133"
2024-12-03 21:33:42 +03:00
sqlx = { version = "0.8.2", features = ["chrono", "macros", "postgres", "runtime-tokio-rustls"] }
2024-12-18 04:53:14 +03:00
tokio = { version = "1.42.0", features = ["rt-multi-thread"] }
2025-01-10 23:11:00 +03:00
tower = { version = "0.5.2", features = ["limit"] }
2024-11-26 22:30:25 +03:00
tower-http = { version = "0.6.2", features = ["cors"] }