[dependencies.fontdb]
optional = true
version = "0.21"
[dependencies.image]
default-features = false
features = ["jpeg", "png", "gif"]
optional = true
version = "0.25"
[dependencies.log]
version = "0.4"
[dependencies.miniz_oxide]
version = "0.8"
[dependencies.once_cell]
version = "1.18"
[dependencies.pdf-writer]
version = "0.12"
[dependencies.resvg]
default-features = false
optional = true
version = "0.43"
[dependencies.siphasher]
optional = true
version = "1.0.1"
[dependencies.subsetter]
optional = true
version = "0.2"
[dependencies.tiny-skia]
optional = true
version = "0.11.4"
[dependencies.ttf-parser]
optional = true
version = "0.24.1"
[dependencies.usvg]
default-features = false
version = "0.43"
[features]
default = ["image", "filters", "text"]
filters = ["image", "dep:tiny-skia", "resvg/raster-images"]
image = ["dep:image"]
text = ["usvg/text", "resvg/text", "dep:siphasher", "dep:subsetter", "dep:ttf-parser", "dep:fontdb"]
[lib]
bench = false
name = "svg2pdf"
path = "src/lib.rs"
[package]
authors = ["Laurenz Stampfl <laurenz.stampfl@gmail.com>", "Martin Haug <mhaug@live.de>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["encoding", "graphics", "multimedia"]
description = "Convert SVG files to PDFs."
edition = "2021"
keywords = ["svg", "pdf", "vector-graphics", "conversion"]
license = "MIT OR Apache-2.0"
name = "svg2pdf"
readme = "README.md"
repository = "https://github.com/typst/svg2pdf"
version = "0.12.0"