[package] name = "kas-resvg" version = "0.14.2" authors = ["Diggory Hardy "] edition = "2021" license = "Apache-2.0" description = "KAS GUI / widgets" readme = "README.md" documentation = "https://docs.rs/kas-widgets/" keywords = ["gui"] categories = ["gui"] repository = "https://github.com/kas-gui/kas" exclude = ["/screenshots"] [package.metadata.docs.rs] features = ["svg", "kas/winit", "kas/wayland"] all-features = true rustdoc-args = ["--cfg", "doc_cfg"] # To build locally: # RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open [features] # Support SVG images svg = ["dep:resvg", "dep:usvg"] [dependencies] tiny-skia = { version = "0.11.0" } resvg = { version = "0.36.0", optional = true } usvg = { version = "0.36.0", optional = true } once_cell = "1.17.0" thiserror = "1.0.23" [dependencies.kas] # We must rename this package since macros expect kas to be in scope: version = "0.14.1" package = "kas-core" path = "../kas-core" features = ["spawn"]