church-api/src/app_state.rs
Benjamin Slingo 0c06e159bb Initial commit: Church API Rust implementation
Complete church management system with bulletin management, media processing, live streaming integration, and web interface. Includes authentication, email notifications, database migrations, and comprehensive test suite.
2025-08-19 20:56:41 -04:00

12 lines
336 B
Rust

use std::sync::Arc;
use crate::email::Mailer;
use crate::services::OwncastService;
#[derive(Clone)]
pub struct AppState {
pub pool: sqlx::PgPool,
pub jwt_secret: String,
pub mailer: Arc<Mailer>,
pub owncast_service: Option<Arc<OwncastService>>,
// Transcoding services removed - replaced by simple smart streaming
}