Closed evgenyigumnov closed 3 months ago
https://crates.io/crates/typst
pub trait TransformerTrait { fn parse(document: &Bytes) -> anyhow::Result<Document>; fn generate(document: &Document) -> anyhow::Result<Bytes>; }
PS
you should do refactoring of pdf.rs generation function and move part of logic inside to mod typst.rs generation function
https://crates.io/crates/typst
PS
you should do refactoring of pdf.rs generation function and move part of logic inside to mod typst.rs generation function