[package]
name = "resvg"
version = "0.28.0"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
keywords = ["svg", "render", "raster", "skia"]
license = "MPL-2.0"
edition = "2018"
description = "An SVG rendering library."
repository = "https://github.com/RazrFalcon/resvg"
exclude = ["tests"]
[workspace]
members = ["c-api", "svgfilters", "usvg", "usvg-text-layout"]
[[bin]]
name = "resvg"
required-features = ["filter", "text", "system-fonts", "memmap-fonts"]
[dependencies]
gif = { version = "0.11", 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.6", optional = true }
rgb = "0.8"
svgfilters = { path = "svgfilters", version = "0.4", optional = true }
svgtypes = "0.8"
tiny-skia = "0.8.2"
usvg = { path = "usvg", version = "0.28.0" }
usvg-text-layout = { path = "usvg-text-layout", version = "0.28.0", default-features = false, optional = true }
[dev-dependencies]
once_cell = "1.5"
[features]
default = ["filter", "text", "system-fonts", "memmap-fonts", "raster-images"]
filter = ["svgfilters"]
text = ["usvg-text-layout"]
system-fonts = ["usvg-text-layout/system-fonts"]
memmap-fonts = ["usvg-text-layout/memmap-fonts"]
raster-images = ["gif", "jpeg-decoder", "png"]