[package]
name = "usvg"
version = "0.44.0"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
keywords = ["svg"]
license = "MPL-2.0"
edition = "2021"
description = "An SVG simplification library."
categories = ["multimedia::images"]
repository = "https://github.com/RazrFalcon/resvg"
documentation = "https://docs.rs/usvg/"
readme = "README.md"
exclude = ["tests"]
workspace = "../.."
[[bin]]
name = "usvg"
required-features = ["text", "system-fonts", "memmap-fonts"]
[dependencies]
base64 = "0.22"
log = "0.4"
pico-args = { version = "0.5", features = ["eq-separator"] }
strict-num = "0.1.1"
svgtypes = "0.15.2"
tiny-skia-path = "0.11.4"
xmlwriter = "0.1"
data-url = "0.3"
flate2 = { version = "1.0", default-features = false, features = ["rust_backend"] }
imagesize = "0.13"
kurbo = "0.11"
roxmltree = "0.20"
simplecss = "0.2"
siphasher = "1.0"
fontdb = { version = "0.22.0", default-features = false, optional = true }
rustybuzz = { version = "0.18.0", optional = true }
unicode-bidi = { version = "0.3", optional = true }
unicode-script = { version = "0.5", optional = true }
unicode-vo = { version = "0.1", optional = true }
[dev-dependencies]
once_cell = "1.5"
[features]
default = ["text", "system-fonts", "memmap-fonts"]
text = ["fontdb", "rustybuzz", "unicode-bidi", "unicode-script", "unicode-vo"]
system-fonts = ["fontdb/fs", "fontdb/fontconfig"]
memmap-fonts = ["fontdb/memmap"]