# 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 = "svg2pdf" version = "0.12.0" authors = [ "Laurenz Stampfl ", "Martin Haug ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Convert SVG files to PDFs." readme = "README.md" keywords = [ "svg", "pdf", "vector-graphics", "conversion", ] categories = [ "encoding", "graphics", "multimedia", ] license = "MIT OR Apache-2.0" repository = "https://github.com/typst/svg2pdf" [lib] name = "svg2pdf" path = "src/lib.rs" bench = false [dependencies.fontdb] version = "0.21" optional = true [dependencies.image] version = "0.25" features = [ "jpeg", "png", "gif", ] optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.miniz_oxide] version = "0.8" [dependencies.once_cell] version = "1.18" [dependencies.pdf-writer] version = "0.12" [dependencies.resvg] version = "0.43" optional = true default-features = false [dependencies.siphasher] version = "1.0.1" optional = true [dependencies.subsetter] version = "0.2" optional = true [dependencies.tiny-skia] version = "0.11.4" optional = true [dependencies.ttf-parser] version = "0.24.1" optional = true [dependencies.usvg] version = "0.43" default-features = false [features] default = [ "image", "filters", "text", ] filters = [ "image", "dep:tiny-skia", "resvg/raster-images", ] image = ["dep:image"] text = [ "usvg/text", "resvg/text", "dep:siphasher", "dep:subsetter", "dep:ttf-parser", "dep:fontdb", ]