Skip to main content

docpack/
lib.rs

1//! Public library surface for `docpack`.
2//!
3//! The library is organized around a normalized [`Value`] tree plus source
4//! metadata, with separate input, backend, and manifest layers built on top.
5
6pub mod backend;
7pub mod core;
8pub mod error;
9pub mod input;
10pub mod manifest;
11
12pub use backend::{
13    ArtifactKind, Backend, BackendKind, RenderRequest, RenderedArtifact, render_document,
14    validate_request,
15};
16pub use core::{Document, Origin, SourceFormat, SourceMeta, TopLevelShape, Value};
17pub use error::{DocpackError, DocpackResult};
18pub use input::{SourceSpec, detect_format, parse_source};