diff options
| author | Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> | 2023-07-24 22:17:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-24 22:17:49 +0200 |
| commit | 8e200c356cbef0e447d01a8c363d0484b988f703 (patch) | |
| tree | 0779bcc403e06d9650c777f21dd641c1ba0cc8e0 | |
| parent | c0af6e3569ac7893450d7aae08c6b38de5c976d0 (diff) | |
Enable feature raster images to resvg (#1786)
| -rw-r--r-- | Cargo.lock | 3 | ||||
| -rw-r--r-- | crates/typst/Cargo.toml | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1790,8 +1790,11 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "142e83d8ae8c8c639f304698a5567b229ba65caba867bf4387bbc0ae158827cf" dependencies = [ + "gif", + "jpeg-decoder", "log", "pico-args", + "png", "rgb", "svgtypes", "tiny-skia", diff --git a/crates/typst/Cargo.toml b/crates/typst/Cargo.toml index 1f19bf50..d8f733bf 100644 --- a/crates/typst/Cargo.toml +++ b/crates/typst/Cargo.toml @@ -34,7 +34,7 @@ once_cell = "1" pdf-writer = "0.7.1" pixglyph = "0.1" regex = "1" -resvg = { version = "0.32", default-features = false } +resvg = { version = "0.32", default-features = false, features = ["raster-images"] } roxmltree = "0.18" rustybuzz = "0.7" serde = { version = "1", features = ["derive"] } |
