13 lines
276 B
Rust
13 lines
276 B
Rust
use std::sync::Arc;
|
|
|
|
use application::context::AppContext;
|
|
|
|
use crate::ports::{HtmlRenderer, RssFeedRenderer};
|
|
|
|
#[derive(Clone)]
|
|
pub struct AppState {
|
|
pub app_ctx: AppContext,
|
|
pub html_renderer: Arc<dyn HtmlRenderer>,
|
|
pub rss_renderer: Arc<dyn RssFeedRenderer>,
|
|
}
|