1#![doc = include_str!("../README.md")]
2
3mod compile;
4mod extract;
5mod manifest;
6mod pack;
7mod packer;
8mod world;
9
10#[cfg(feature = "cli")]
11pub mod cli;
12
13pub use compile::{
14 CompileError, CompileOptions, CompileOutput, OutputFormat, PageRange, compile, parse_pages,
15};
16pub use manifest::{
17 FORMAT_VERSION, FontManifest, MANIFEST_PATH, Manifest, ManifestError, Metadata,
18 PackagesManifest, ProjectManifest,
19};
20pub use pack::{
21 FILE_EXTENSION, Pack, PackBuildError, PackBuilder, PackFont, PackReadError, PackWriteError,
22};
23pub use world::{PackWorld, PackWorldBuilder, PackWorldError};
24
25#[cfg(feature = "fs")]
26pub use extract::{ExtractError, ExtractOptions, ExtractReport, extract};
27#[cfg(feature = "fs")]
28pub use packer::{DiscoveryWorld, PackOutcome, PackReport, Packer, PackerError};
29#[cfg(feature = "fs")]
30pub use world::{OfflineDownloader, SystemPackageLoader};
31
32#[cfg(test)]
33mod tests;