[package]
name = "resvg"
version = "0.37.0"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
keywords = ["svg", "render", "raster"]
license = "MPL-2.0"
edition = "2018"
description = "An SVG rendering library."
repository = "https://github.com/RazrFalcon/resvg"
exclude = ["tests"]
workspace = "../.."
[[bin]]
name = "resvg"
required-features = ["text", "system-fonts", "memmap-fonts"]
[dependencies]
gif = { version = "0.12", optional = true }
jpeg-decoder = { version = "0.3", default-features = false, features = ["platform_independent"], optional = true }
log = "0.4"
pico-args = { version = "0.5", features = ["eq-separator"] }
png = { version = "0.17", optional = true }
rgb = "0.8"
svgtypes = "0.13"
tiny-skia = "0.11.3"
usvg = { path = "../usvg", version = "0.37.0", default-features = false }
[dev-dependencies]
once_cell = "1.5"
[features]
default = ["text", "system-fonts", "memmap-fonts", "raster-images"]
text = ["usvg/text"]
system-fonts = ["usvg/system-fonts"]
memmap-fonts = ["usvg/memmap-fonts"]
raster-images = ["gif", "jpeg-decoder", "png"]