summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-12-07 00:10:05 +0100
committerGitHub <noreply@github.com>2021-12-07 00:10:05 +0100
commit1b67887db0c2f2cd17d60d70c83d56e9e81f4a41 (patch)
tree7930718d6dbdf92d1feaa92df97830ef3dfc4ed5 /Cargo.toml
parent2982020480fc3d9061e26ca24dd467f315981dff (diff)
parent7c829c5c1b67ac8e8fbe4fc4ba01468d100bfb47 (diff)
Merge pull request #49 from typst/svg
Add SVG capabilities
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8d1e7201..6e11cc05 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,10 +26,12 @@ miniz_oxide = "0.4"
pdf-writer = "0.4"
rustybuzz = "0.4"
serde = { version = "1", features = ["derive", "rc"] }
+svg2pdf = { version = "0.1", default-features = false, features = ["text", "png", "jpeg"] }
ttf-parser = "0.12"
unicode-bidi = "0.3.5"
unicode-segmentation = "1.8"
unicode-xid = "0.2"
+usvg = { version = "0.19", default-features = false, features = ["text"] }
xi-unicode = "0.3"
anyhow = { version = "1", optional = true }
codespan-reporting = { version = "0.11", optional = true }
@@ -43,8 +45,8 @@ walkdir = { version = "2", optional = true }
[dev-dependencies]
filedescriptor = "0.8"
iai = { git = "https://github.com/reknih/iai" }
+resvg = { version = "0.19", default-features = false, features = ["text"] }
tiny-skia = "0.6"
-usvg = { version = "0.15", default-features = false }
walkdir = "2"
[[bin]]