forked from typst/svg2pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (28 loc) · 908 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "svg2pdf"
version = "0.4.0"
authors = ["Martin Haug <[email protected]>"]
edition = "2021"
description = "Convert SVG files to PDFs."
repository = "https://github.com/typst/svg2pdf"
readme = "README.md"
license = "MIT OR Apache-2.0"
categories = ["encoding", "graphics", "multimedia"]
keywords = ["svg", "pdf", "vector-graphics", "conversion"]
[features]
default = ["png", "jpeg", "gif"]
png = ["image/png"]
jpeg = ["image/jpeg"]
gif = ["image/gif"]
cli = ["clap", "termcolor", "usvg/text", "fontdb"]
[dependencies]
miniz_oxide = "0.5"
pdf-writer = "0.6"
usvg = { version = "0.22", default-features = false }
clap = { version = "3", features = ["derive"], optional = true }
fontdb = { version = "0.9", optional = true }
image = { version = "0.24", default-features = false, optional = true }
termcolor = { version = "1", optional = true }
[[bin]]
name = "svg2pdf"
required-features = ["cli"]