rust_forum/Cargo.toml

25 lines
590 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"
chrono = { version = "0.4.38", features = ["serde"] }
serde = { version = "1.0.215", features = ["derive"] }
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-11-26 22:30:25 +03:00
tokio = { version = "1.41.1", features = ["full"] }
tower-http = { version = "0.6.2", features = ["cors"] }