natter/src/config/definition.rs

14 lines
325 B
Rust
Raw Normal View History

use serde::Deserialize;
use serde::Serialize;
/// This is the struct for the writer.toml config file that ends up in each site's root directory.
#[derive(Deserialize, Serialize)]
pub(crate) struct Config {
foo: String,
}
impl Default for Config {
fn default() -> Self {
Config { foo: "".to_owned() }
}
}