pub mod error;
pub mod render;
pub mod typst;
pub use error::{
PapermakeError, Result, SourceLocation, TemplateError, compilation_error_from_diagnostics,
convert_typst_diagnostic, template_missing_file,
};
pub use render::{
PdfStandard, RenderError, RenderOptions, RenderResult, render_template,
render_template_with_cache, render_template_with_options,
};
pub use typst::{InMemoryFileSystem, PapermakeWorld, RenderFileSystem};
pub use ::typst::diag::FileError;
pub fn version() -> &'static str {
env!("CARGO_PKG_VERSION")
}