# 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 = "pdf-writer" version = "0.12.0" authors = ["Laurenz "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A step-by-step PDF writer." readme = "README.md" keywords = [ "pdf", "writer", ] categories = [ "encoding", "multimedia", ] license = "MIT OR Apache-2.0" repository = "https://github.com/typst/pdf-writer" [lib] name = "pdf_writer" path = "src/lib.rs" [[example]] name = "chunks" path = "examples/chunks.rs" [[example]] name = "forms" path = "examples/forms.rs" [[example]] name = "hello" path = "examples/hello.rs" [[example]] name = "icc" path = "examples/icc.rs" [[example]] name = "image" path = "examples/image.rs" [[example]] name = "image_cmyk" path = "examples/image_cmyk.rs" [[example]] name = "separations" path = "examples/separations.rs" [[example]] name = "soft_masks" path = "examples/soft_masks.rs" [[example]] name = "video" path = "examples/video.rs" [[bench]] name = "oneshot" path = "benches/oneshot.rs" harness = false [dependencies.bitflags] version = "2" [dependencies.itoa] version = "1" [dependencies.memchr] version = "2" [dependencies.ryu] version = "1" [dev-dependencies.iai] version = "0.1" [dev-dependencies.image] version = "0.25" features = [ "png", "jpeg", ] default-features = false [dev-dependencies.jpeg-decoder] version = "0.3.1" [dev-dependencies.jpeg-encoder] version = "0.6.0" [dev-dependencies.miniz_oxide] version = "0.8"