pub mod config;
pub mod error;
pub mod metrics;
pub mod models;
pub mod pushkin;
pub mod service;

use std::sync::Arc;

use pushkin::PushkinRegistry;

#[derive(Clone)]
pub struct AppState {
    pub registry: Arc<PushkinRegistry>,
}

impl AppState {
    pub fn new(registry: Arc<PushkinRegistry>) -> Self {
        Self { registry }
    }
}
