#![forbid(unsafe_code)]
pub mod arith;
pub mod caj;
mod error;
mod fallible;
mod gb18030;
pub mod hnc8;
mod io;
pub mod jbig1;
pub mod jbig2;
pub mod kdh;
mod limits;
pub mod native;
mod operations;
pub mod pdf;
pub mod qm;
#[cfg(test)]
pub(crate) mod test_support;
pub use error::{Context, Error, ErrorKind, Hnc8Stage, Result, Type3Stage};
pub(crate) use io::write_counted;
pub use io::{
Cancellation, CountingSource, NeverCancel, Payload, RangedSource, read_exact_at, read_payload,
};
pub use limits::{DEFAULT_IO_CHUNK, Limits, MAX_IO_CHUNK};
pub use operations::{
Bookmark, BookmarkVisitor, ConversionOptions, ConversionReport, Detection, DocumentInfo,
FONTS_REQUIRE_HNC8, Fonts, ImageCounts, InputFormat, InspectOptions, OmittedPage,
PDF_HEADER_SEARCH_BYTES, PageVisitor, Progress, SIGNATURE_BYTES, Structure, convert,
detect_format, detect_source, index_pdf, inspect, inspect_pages, needs_fonts, read_outline,
};