mode - Rename crate and update dependencies to newer versions - Add OFFLINE runtime mode for loopback-only server without DB - Refactor state handling with typed Axum routers and state injection - Rename mongodb module to mongo and fix imports accordingly - Update Cargo.lock with updated and removed dependencies - Remove no-auth feature and related code - Simplify health and user routes to generic state parameter Rename backend to purenotify_backend and add OFFLINE mode Use OFFLINE env var to run server without DB, binding to loopback only. Rename mongodb module to mongo and update dependencies. Update dependencies and fix router state handling.
21 lines
606 B
TOML
21 lines
606 B
TOML
[package]
|
|
name = "purenotify_backend"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
axum = "0.8.4"
|
|
bson = { version = "2.15.0", features = ["chrono-0_4"] }
|
|
chrono = { version = "0.4.41", features = ["serde"] }
|
|
sha2 = "0.10.9"
|
|
rand = "0.9.2"
|
|
regex = "1.11.1"
|
|
dotenvy = "0.15.7"
|
|
mongodb = "3.2.4"
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
serde_json = "1.0.143"
|
|
tokio = { version = "1.47.1", features = ["full", "rt-multi-thread", "signal"] }
|
|
tower-http = { version = "0.6.6", features = ["trace"] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|