sita 0.2.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:
//!
//! * Map: Map struct (for state via matter parser HTML or Markdown comments)
//! * 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),
}