3 unstable releases

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

#2120 in Parser implementations

Download history 577/week @ 2023-11-20 198/week @ 2023-11-27 379/week @ 2023-12-04 701/week @ 2023-12-11 530/week @ 2023-12-18 470/week @ 2023-12-25 446/week @ 2024-01-01 589/week @ 2024-01-08 666/week @ 2024-01-15 367/week @ 2024-01-22 729/week @ 2024-01-29 700/week @ 2024-02-05 710/week @ 2024-02-12 1244/week @ 2024-02-19 797/week @ 2024-02-26 907/week @ 2024-03-04

3,676 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.6–1.2MB
~30K SLoC