sita 0.1.0

Sita: static site generator (SSG) for Markdown and HTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! State management.
//!
//! This is a state manager that can handle a variety of formats:
//! 
//! * BTML: BTreeMap struct (for state via matter parser HTML or MDCC)
//! * JSON: JavaScript Object Notation
//! * TOML: Tom's Obvious Markup Language
//! * YAML: Yet Anther Markup Language
//!
//! This can be expanded for potential future formats.

#[derive(Debug)]
pub enum StateEnum {
    StateWithMap(crate::state::state_with_map::StateWithMap),
    StateWithJSON(crate::state::state_with_json::StateWithJSON),
    StateWithTOML(crate::state::state_with_toml::StateWithTOML),
    StateWithYAML(crate::state::state_with_yaml::StateWithYAML),
}