just-kdl 0.2.0

Small streaming KDL parser
Documentation

just-kdl

Repository Crates.io docs.rs MIT OR Apache-2.0

Implementation of a KDL v2.0.1 parser.

let text = "an example; kdl {document}";
let document = Reader::new(text.as_bytes())
    .collect::<Result<Document, _>>()
    .expect("syntax error");
assert_eq!(document.to_string(), "
an example
kdl {
    document
}
".trim());

For more information, read the docs.

Changelog

0.2.0

  • Rewrite to be good

0.1.0

  • Initial (unstable) release