yamlbase 0.7.2

A lightweight SQL server that serves YAML-defined tables over standard SQL protocols
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod parser;
pub mod schema;
pub mod watcher;

#[cfg(test)]
mod tests;

pub use parser::parse_yaml_database;
pub use schema::{AuthConfig, YamlColumn, YamlDatabase, YamlTable};
pub use watcher::FileWatcher;

// For fuzzing
pub fn parse_yaml_string(yaml_str: &str) -> Result<YamlDatabase, serde_yaml::Error> {
    serde_yaml::from_str(yaml_str)
}