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