summary refs log tree commit diff stats
path: root/src/config_file.rs
blob: f9ea659c40d7d8bbf00419673cba662b51bb5edb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde_derive::{Deserialize, Serialize};

#[derive(Deserialize, Serialize)]
pub struct Config {
    pub main_file: String,
    pub templates: Template,
}

#[derive(Deserialize, Serialize)]
pub struct Template {
    pub section: String,
    pub chapter: String,
}