feat: initialize rust backend with axum server, seaorm models, and project scaffolding
This commit is contained in:
43
backend/Cargo.toml
Normal file
43
backend/Cargo.toml
Normal file
@@ -0,0 +1,43 @@
|
||||
[package]
|
||||
name = "zhealth-backend"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[[bin]]
|
||||
name = "zhealth"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# Web Framework
|
||||
axum = "0.8"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tower = "0.5"
|
||||
tower-http = { version = "0.6", features = ["cors", "trace"] }
|
||||
|
||||
# Database
|
||||
sea-orm = { version = "1.1", features = ["sqlx-sqlite", "runtime-tokio-rustls", "macros"] }
|
||||
|
||||
# Serialization
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_yaml = "0.9"
|
||||
|
||||
# Auth
|
||||
argon2 = "0.5"
|
||||
rand = "0.8"
|
||||
|
||||
# Time
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
# Logging
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
# Error handling
|
||||
thiserror = "2"
|
||||
anyhow = "1"
|
||||
|
||||
# Regex for config env expansion
|
||||
regex = "1"
|
||||
|
||||
# CLI
|
||||
argh = "0.1"
|
||||
Reference in New Issue
Block a user