33 lines
1.2 KiB
TOML
33 lines
1.2 KiB
TOML
[package]
|
|
name = "nexus-4"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
actix-web = "4.11.0"
|
|
sea-orm = { version = "1.1.12", features = [
|
|
# REQUIRED: Database Driver
|
|
"sqlx-postgres",
|
|
# REQUIRED: Async Runtime & TLS Implementation
|
|
"runtime-tokio-rustls", # For Actix/Tokio and pure-Rust TLS
|
|
# ESSENTIAL: For SeaORM's Derive Macros
|
|
"macros",
|
|
# EXTRA FEATURES (Recommended & Common for your use case):
|
|
"debug-print", # To print SQL queries to the console/logger in debug mode
|
|
"mock", # For unit testing database interactions
|
|
"with-chrono", # To map PostgreSQL timestamp/date types to Rust's `chrono` types
|
|
"with-json", # To map PostgreSQL JSON/JSONB types to `serde_json::Value`
|
|
"with-uuid", # To map PostgreSQL UUID types to Rust's `uuid` type
|
|
]}
|
|
async-graphql = { version = "7.0.17", features = ["chrono"] }
|
|
async-graphql-actix-web = "7.0.17"
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
uuid = { version = "1.17.0", features = ["v4"] }
|
|
chrono = "0.4.41"
|
|
jsonwebtoken = "9.2.0"
|
|
bcrypt = "0.17.0"
|
|
thiserror = "2.0.12"
|
|
serde_json = "1.0.140"
|
|
dotenv = "0.15.0"
|
|
actix-cors = "0.7.0"
|