3 unstable releases

0.2.1 Mar 21, 2022
0.2.0 Feb 17, 2022
0.1.0 Feb 17, 2022

#2934 in Parser implementations

Download history 1529/week @ 2024-08-01 852/week @ 2024-08-08 588/week @ 2024-08-15 1131/week @ 2024-08-22 661/week @ 2024-08-29 1151/week @ 2024-09-05 2181/week @ 2024-09-12 601/week @ 2024-09-19 366/week @ 2024-09-26 483/week @ 2024-10-03 1271/week @ 2024-10-10 1171/week @ 2024-10-17 875/week @ 2024-10-24 611/week @ 2024-10-31 452/week @ 2024-11-07 439/week @ 2024-11-14

2,782 downloads per month
Used in 2 crates

MIT/Apache

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