ndjson_stream/driver/mod.rs
1//! This module contains the higher-level drivers of the NDJSON-parser. Convenience functions to
2//! construct these are found at top-level of the crate.
3
4#[cfg(feature = "iter")]
5pub(crate) mod iter;
6
7#[cfg(feature = "stream")]
8pub(crate) mod stream;
9
10#[cfg(feature = "iter")]
11pub use crate::driver::iter::NdjsonIter;
12
13#[cfg(feature = "iter")]
14pub use crate::driver::iter::FallibleNdjsonIter;
15
16#[cfg(feature = "stream")]
17pub use crate::driver::stream::NdjsonStream;
18
19#[cfg(feature = "stream")]
20pub use crate::driver::stream::FallibleNdjsonStream;