honzo_core/lib.rs
1#![no_std]
2
3#[cfg(feature = "alloc")]
4extern crate alloc;
5
6mod error;
7mod parse;
8mod types;
9
10#[cfg(feature = "alloc")]
11mod write;
12
13pub use error::HonzoError;
14pub use parse::{HonzoParser, PmapEntryIter, TocEntryIter};
15pub use types::MathType;
16pub use types::{
17 Compression, CoverType, FontEmbedding, HonzoHead, LayoutMode, MarkupType, PmapEntry, TocEntry,
18};
19
20#[cfg(feature = "alloc")]
21pub use write::HonzoBuilder;