Skip to main content

Crate papermake

Crate papermake 

Source
Expand description

Papermake is a PDF generation library that uses Typst templates with associated schemas to render PDFs from structured data.

Re-exports§

pub use error::PapermakeError;
pub use error::Result;
pub use error::SourceLocation;
pub use error::TemplateError;
pub use error::compilation_error_from_diagnostics;
pub use error::convert_typst_diagnostic;
pub use error::template_missing_file;
pub use render::PdfStandard;
pub use render::RenderError;
pub use render::RenderOptions;
pub use render::RenderResult;
pub use render::render_template;
pub use render::render_template_with_cache;
pub use render::render_template_with_options;
pub use typst::InMemoryFileSystem;
pub use typst::PapermakeWorld;
pub use typst::RenderFileSystem;

Modules§

error
Error types for the papermake library
render
PDF rendering functionality
typst

Enums§

FileError
An error that occurred while trying to load of a file.

Functions§

version
Get the library version