1#![forbid(unsafe_code)]
13
14mod appearance;
15mod backend;
16mod error;
17#[cfg(feature = "export")]
18mod export;
19#[cfg(feature = "hayro")]
20mod hayro;
21mod request;
22mod source;
23
24pub use appearance::{Annotated, DARK, Kept, PageAppearance, PagePalette, Quad, SEPIA, mostly_changed, recolour_tile};
25pub use backend::{RenderBackend, RenderDocument};
26pub use error::RenderError;
27#[cfg(feature = "export")]
28pub use export::{ExportFormat, ExportOptions, export_pages};
29#[cfg(feature = "hayro")]
30pub use hayro::HayroBackend;
31pub use laminapdf_cos::{ByteSource, SourceError, merge_ranges};
32pub use laminapdf_model::Matrix;
33pub use laminapdf_syntax::{CancelToken, Rotation};
34pub use request::{
35 BYTES_PER_PIXEL, PixelRect, RenderFlags, RenderLimits, RenderOpenOptions, RenderPage, RenderRequest, Rgba8,
36 TilePlan,
37};
38pub use source::read_all;