3 unstable releases
0.2.1 | Mar 21, 2022 |
---|---|
0.2.0 | Feb 17, 2022 |
0.1.0 | Feb 17, 2022 |
#2809 in Parser implementations
4,809 downloads per month
Used in 2 crates
22KB
513 lines
YAML parser with element position saving and basic validation checks. Based on the yaml-rust crate.
Usage example:
use located_yaml::YamlLoader;
let res = YamlLoader::load_from_str(r#"
some_array:
- a
- b
- some_hash:
k1: v1
k2: v2
- true
"#).unwrap();
println!("{:?}", res.docs);
Dependencies
~0.5–1.1MB
~27K SLoC