json-book 0.1.1

Book format optimized for small screens, an alternaive for the XML-based FB2
Documentation
1
2
3
4
5
6
7
8
9
use boon::{Compiler, Schemas};

#[test]
fn validate_schema() {
    let mut schemas = Schemas::new();
    let mut compiler = Compiler::new();
    let valid = compiler.compile("schema.json", &mut schemas).is_ok();
    assert!(valid);
}