just-kdl
Implementation of a KDL v2.0.1 parser.
let text = "an example; kdl {document}";
let document = new
.
.expect;
assert_eq!;
For more information, read the docs.
Changelog
0.2.0
- Rewrite to be good
0.1.0
- Initial (unstable) release
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.