summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock3
-rw-r--r--crates/typst/Cargo.toml2
2 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1e8efd87..0bd7eab0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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"] }