From 46846a337e8084acd46c70bccc2fca2659e9fb9a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 8 Nov 2023 14:32:42 +0100 Subject: Extract `typst-pdf` crate --- tests/Cargo.toml | 1 + tests/src/tests.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Cargo.toml b/tests/Cargo.toml index cce7c6af..ca8c1c0c 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -9,6 +9,7 @@ publish = false [dev-dependencies] typst = { workspace = true } typst-library = { workspace = true } +typst-pdf = { workspace = true } typst-render = { workspace = true } typst-svg = { workspace = true } clap = { workspace = true } diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 3cf8aa1c..0271839c 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -420,7 +420,7 @@ fn test( let document = Document { pages: frames, ..Default::default() }; if compare_ever { if let Some(pdf_path) = pdf_path { - let pdf_data = typst::export::pdf( + let pdf_data = typst_pdf::pdf( &document, Some(&format!("typst-test: {}", name.display())), world.today(Some(0)), -- cgit v1.2.3