diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-11-08 13:21:25 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-11-08 13:21:47 +0100 |
| commit | 80b4ca4c04cb5d911947895d9d04c87efb97b0f4 (patch) | |
| tree | 2de98314a524a0c5663408a51ccb13a5a74ddea4 /crates/typst-cli/src | |
| parent | ec04c3de2fcc5b31d94dc2be8561e569f28cc0a1 (diff) | |
Extract `typst-svg` crate
Diffstat (limited to 'crates/typst-cli/src')
| -rw-r--r-- | crates/typst-cli/src/compile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/compile.rs b/crates/typst-cli/src/compile.rs index 80e19f1b..9eec36cb 100644 --- a/crates/typst-cli/src/compile.rs +++ b/crates/typst-cli/src/compile.rs @@ -226,7 +226,7 @@ fn export_image( .map_err(|err| eco_format!("failed to write PNG file ({err})"))?; } ImageExportFormat::Svg => { - let svg = typst::export::svg(frame); + let svg = typst_svg::svg(frame); fs::write(path, svg.as_bytes()) .map_err(|err| eco_format!("failed to write SVG file ({err})"))?; } |
