glue 0.8.7

Glue is a parser combinator framework for parsing text based formats, it is easy to use and relatively fast too.
Documentation
1
2
3
4
5
6
7
8
9
10
fn property<I: Parsable>() -> impl Parser<I, Ini> {
    move |input: I| match separated(
        name(),                                    // ━ 1
        separator(),                               // ━ 2
        find(1.., find_any((value(), comment()))), // ━ 3
    ).parse(input)?
    {
        ((name, items), input) => Ok((Ini::Property(name.into(), filter_items(items)), input)),
    }
}