alpm_parsers/lib.rs
1#![doc = include_str!("../README.md")]
2
3#[cfg(feature = "serde")]
4pub mod custom_ini;
5pub mod error;
6pub mod macros;
7pub mod traits;
8
9/// This prelude contains all important types needed to both create parsers in the alpm workspace.
10/// It's also convenient to import by consumers, as it also contains all traits necessary for
11/// interacting with our parsers.
12pub mod prelude {
13 pub use winnow::{
14 Parser,
15 combinator::impls::Context,
16 error::{StrContext, StrContextValue},
17 };
18
19 pub use crate::{
20 error::{ContextExt, ContextParser, Input, LayerExt, LayerParser, PResult, ParseStack},
21 traits::{AlpmParser, ParserUntil, ParserUntilInclusive},
22 };
23}