summary refs log tree commit diff stats
path: root/src/config_file.rs
blob: 88947212af2942b6453c40d70f38f31aa3b7ff41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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,
    pub figure: String,
}