# 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 = "krilla" version = "0.3.0" authors = ["Laurenz Stampfl "] build = false exclude = [ "assets/*", "src/tests", "krilla-macros", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A high-level crate for creating PDF files." readme = "README.md" keywords = ["pdf"] categories = [ "graphics", "multimedia", ] license = "MIT OR Apache-2.0" repository = "https://github.com/LaurenzV/krilla" [lib] name = "krilla" path = "src/lib.rs" [[example]] name = "cosmic_text" path = "examples/cosmic_text.rs" [[example]] name = "empty_document" path = "examples/empty_document.rs" [[example]] name = "parley" path = "examples/parley.rs" [[example]] name = "simple_text" path = "examples/simple_text.rs" [[example]] name = "stream_builder" path = "examples/stream_builder.rs" [dependencies.base64] version = "0.22.1" [dependencies.flate2] version = "1.0.30" [dependencies.float-cmp] version = "0.10.0" [dependencies.fontdb] version = "0.22.0" optional = true [dependencies.gif] version = "0.13.1" optional = true [dependencies.image-webp] version = "0.1.3" optional = true [dependencies.miniz_oxide] version = "0.8.0" [dependencies.once_cell] version = "1.19.0" [dependencies.pdf-writer] version = "0.12.0" [dependencies.resvg] version = "0.44.0" optional = true [dependencies.rustybuzz] version = "0.18.0" optional = true [dependencies.siphasher] version = "1.0.1" [dependencies.skrifa] version = "0.22.0" [dependencies.subsetter] version = "0.2.0" [dependencies.tiny-skia] version = "0.11.4" optional = true [dependencies.tiny-skia-path] version = "0.11.4" [dependencies.usvg] version = "0.44.0" optional = true [dependencies.xmp-writer] version = "0.2.0" [dependencies.yoke] version = "0.7.4" features = ["derive"] [dependencies.zune-jpeg] version = "0.4.13" optional = true [dependencies.zune-png] version = "0.4.10" optional = true [dev-dependencies.difference] version = "2.0.0" [dev-dependencies.image] version = "0.25.1" features = ["png"] default-features = false [dev-dependencies.oxipng] version = "9.1.2" [dev-dependencies.paste] version = "1.0.15" [features] default = [ "simple-text", "raster-images", "svg", ] fontdb = ["dep:fontdb"] raster-images = [ "dep:zune-png", "dep:zune-jpeg", "dep:gif", "dep:image-webp", ] simple-text = ["dep:rustybuzz"] svg = [ "dep:resvg", "dep:usvg", "dep:tiny-skia", "fontdb", "raster-images", ]