use serde::Deserialize; use serde::Serialize; /// This is the struct for the natter.toml config file that ends up in each site's root directory. #[derive(Debug, Deserialize, Serialize, Default)] pub(crate) struct RawConfig { pub(super) site_title: Option, author: Option, email: Option, pub(super) use_relative_paths: Option, pub(super) web_root: Option, pub(super) stream: Option, } #[derive(Debug, Deserialize, Serialize, Default)] pub(crate) struct RawConfigStream { pub(super) entries_per_page: Option, }