orgize 0.9.0

A Rust library for parsing orgmode files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Parse configuration
#[derive(Clone, Debug)]
pub struct ParseConfig {
    /// Headline's todo keywords
    pub todo_keywords: (Vec<String>, Vec<String>),
}

impl Default for ParseConfig {
    fn default() -> Self {
        ParseConfig {
            todo_keywords: (vec![String::from("TODO")], vec![String::from("DONE")]),
        }
    }
}

lazy_static::lazy_static! {
    pub static ref DEFAULT_CONFIG: ParseConfig = ParseConfig::default();
}