1pub use std::collections::BTreeSet as Set;
2
3pub use winnow::ModalResult;
4pub use winnow::Parser;
5
6pub type ByteInput<'a> = &'a [u8];
8
9pub type StrInput<'a> = &'a str;
11
12pub(crate) mod prelude {
13 pub use winnow::{
14 ModalResult,
15 Parser,
16 ascii::{dec_uint, multispace0, multispace1, space0, space1},
17 binary::{be_u16, be_u24, be_u32, i8, le_i32, le_u16, le_u24, le_u32, u8},
18 combinator::{
19 alt, backtrack_err, cut_err, delimited, opt, preceded, repeat, separated,
20 separated_pair, seq, terminated,
21 },
22 error::{ContextError, ErrMode, StrContext},
23 token::{any, none_of, one_of, take, take_till, take_while},
25 };
26}
27
28mod bits;
29pub use bits::Bits;
30
31pub mod cbg;
32pub mod cbh;
33pub mod cbp;
34pub mod cbt;
35pub mod cbv;
36pub mod fen;
37pub mod pgn;
38pub mod san;
39pub mod uci;