2023-10-18 20:06:30 -04:00
|
|
|
use serde::Deserialize;
|
|
|
|
use serde::Serialize;
|
|
|
|
|
2023-10-18 19:59:45 -04:00
|
|
|
/// This is the struct for the writer.toml config file that ends up in each site's root directory.
|
2023-10-18 20:06:30 -04:00
|
|
|
#[derive(Deserialize, Serialize)]
|
2023-10-18 19:59:45 -04:00
|
|
|
pub(crate) struct Config {
|
|
|
|
foo: String,
|
|
|
|
}
|
2023-10-18 20:21:28 -04:00
|
|
|
impl Default for Config {
|
|
|
|
fn default() -> Self {
|
|
|
|
Config { foo: "".to_owned() }
|
|
|
|
}
|
|
|
|
}
|