Add serde and toml for parsing the config.

This commit is contained in:
Tom Alexander
2023-10-18 20:06:30 -04:00
parent 63b0619094
commit 5f82d7a469
3 changed files with 105 additions and 1 deletions

View File

@@ -1,4 +1,8 @@
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,
}