Files
PostfixAdminRS/src/state.rs
T
2026-11-03 16:52:28 +01:00

11 lines
193 B
Rust

use std::sync::Arc;
use crate::{auth::AuthStore, config::AppConfig, db::Db};
#[derive(Clone)]
pub struct AppState {
pub config: Arc<AppConfig>,
pub db: Db,
pub auth: AuthStore,
}