state.rs
1
2
3
4
5
6
7
8
9
10
use crate::content::{ self };
use crate::email::{ self };
use tera::{ Tera };
pub(crate) struct ApplicationState {
pub(crate) email_client: email::Client,
pub(crate) content: content::Provider,
pub(crate) tera: Tera,
}