docs.rs failed to build nahpu_export-0.5.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
nahpu_export
Document rendering for the NAHPU specimen cataloging app.
DocumentRenderer converts typed NAHPU database records to Markdown or Typst.
TypstCompiler compiles generated or caller-provided Typst into PDF bytes with
caller-provided fonts. Markdown-to-Typst conversion supports the rich-text
constructs used by NAHPU templates.
use ;
let renderer = new;
let typst = renderer.render_typst;
let pdf = new.compile?;
# Ok::
The crate returns typed ExportError values for JSON parsing, Typst diagnostics,
and PDF encoding failures.