11 lines
193 B
Rust
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,
|
|
}
|