3 unstable releases

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

#43 in #yaml-parser

Download history 455/week @ 2024-10-01 1330/week @ 2024-10-08 663/week @ 2024-10-15 1305/week @ 2024-10-22 490/week @ 2024-10-29 553/week @ 2024-11-05 501/week @ 2024-11-12 464/week @ 2024-11-19 340/week @ 2024-11-26 875/week @ 2024-12-03 452/week @ 2024-12-10 968/week @ 2024-12-17 220/week @ 2024-12-24 144/week @ 2024-12-31 364/week @ 2025-01-07 399/week @ 2025-01-14

1,153 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
~26K SLoC