# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "svgr" version = "0.43.2" authors = ["Yevhenii Reizner "] build = false exclude = ["tests"] autobins = false autoexamples = false autotests = false autobenches = false description = "An SVG rendering library." readme = "README.md" keywords = [ "svg", "render", "raster", ] license = "MPL-2.0" repository = "https://github.com/RazrFalcon/svgr" [lib] name = "svgr" path = "src/lib.rs" [[bin]] name = "svgr" path = "src/main.rs" required-features = [ "text", "system-fonts", "memmap-fonts", ] [[example]] name = "custom_href_resolver" path = "examples/custom_href_resolver.rs" [[example]] name = "draw_bboxes" path = "examples/draw_bboxes.rs" [[example]] name = "minimal" path = "examples/minimal.rs" [dependencies.gif] version = "0.12" optional = true [dependencies.jpeg-decoder] version = "0.3" features = ["platform_independent"] optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.pico-args] version = "0.5" features = ["eq-separator"] [dependencies.png] version = "0.17" optional = true [dependencies.rgb] version = "0.8" [dependencies.svgrtypes] version = "0.43.2" [dependencies.tiny-skia] version = "0.11.4" [dependencies.usvgr] version = "0.43.2" default-features = false [dev-dependencies.image] version = "0.25.0" [dev-dependencies.once_cell] version = "1.5" [features] default = [ "text", "system-fonts", "memmap-fonts", "raster-images", ] memmap-fonts = ["usvgr/memmap-fonts"] raster-images = [ "gif", "jpeg-decoder", "png", ] system-fonts = ["usvgr/system-fonts"] text = ["usvgr/text"]