1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(not(feature = "std"))]
mod io_compat;
pub mod lib {
#[cfg(feature = "std")]
pub mod std {
pub mod io {
pub use std::io::{Cursor, Error, Result, Seek, SeekFrom, Write};
}
pub use std::{cmp, fmt, iter, mem, result, slice};
}
#[cfg(not(feature = "std"))]
pub mod std {
pub use core::{cmp, iter, mem, result, slice};
#[macro_use]
pub use core::fmt;
pub mod io {
pub use io_compat::*;
}
}
}
#[macro_use]
pub mod gen;
mod internal;
pub use internal::*;
pub mod bytes;
pub mod combinator;
pub mod multi;
pub mod sequence;