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

Download history 1302/week @ 2024-04-14 1389/week @ 2024-04-21 1376/week @ 2024-04-28 1837/week @ 2024-05-05 1769/week @ 2024-05-12 1562/week @ 2024-05-19 1717/week @ 2024-05-26 1115/week @ 2024-06-02 548/week @ 2024-06-09 753/week @ 2024-06-16 1152/week @ 2024-06-23 1032/week @ 2024-06-30 1311/week @ 2024-07-07 1183/week @ 2024-07-14 1050/week @ 2024-07-21 1180/week @ 2024-07-28

4,809 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