[dependencies.allsorts-subset-browser]
default-features = false
features = ["flate2_rust"]
version = "0.16"
[dependencies.azul-core]
default-features = false
features = ["std"]
optional = true
version = "0.0.5"
[dependencies.azul-css]
default-features = false
features = ["parser"]
optional = true
version = "0.0.5"
[dependencies.azul-layout]
default-features = false
features = ["std", "text_layout", "font_loading", "xml"]
optional = true
version = "0.0.5"
[dependencies.base64]
version = "0.22.1"
[dependencies.flate2]
version = "1.0.35"
[dependencies.image]
default-features = false
version = "0.25"
[dependencies.kuchiki]
optional = true
version = "0.8.1"
[dependencies.lopdf]
default-features = false
features = ["nom_parser"]
version = "0.35.0"
[dependencies.rust-fontconfig]
default-features = false
features = ["std", "parsing"]
optional = true
version = "1.0.0"
[dependencies.serde]
version = "1"
[dependencies.serde_derive]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.svg2pdf]
version = "0.13.0"
[dependencies.time]
default-features = false
features = ["std", "serde", "serde-human-readable"]
version = "0.3.25"
[dependencies.wasm-bindgen-futures]
default-features = false
optional = true
version = "0.4.50"
[dependencies.web-sys]
default-features = false
features = ["ImageData", "Window", "Document", "Blob", "CanvasRenderingContext2d", "HtmlCanvasElement", "HtmlImageElement", "ImageBitmap", "BlobPropertyBag"]
optional = true
version = "0.3.77"
[dependencies.weezl]
version = "0.1.8"
[dependencies.xmlparser]
default-features = false
optional = true
version = "0.13.6"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.text-diff]
version = "0.4.0"
[[example]]
name = "advanced"
path = "examples/advanced.rs"
required-features = []
[[example]]
name = "bookmarks"
path = "examples/bookmarks.rs"
required-features = []
[[example]]
name = "customfont"
path = "examples/customfont.rs"
required-features = []
[[example]]
name = "graphics"
path = "examples/graphics.rs"
required-features = []
[[example]]
name = "html"
path = "examples/html.rs"
required-features = ["html"]
[[example]]
name = "image"
path = "examples/image.rs"
required-features = ["png"]
[[example]]
name = "layers"
path = "examples/layers.rs"
required-features = []
[[example]]
name = "multipage"
path = "examples/multipage.rs"
required-features = []
[[example]]
name = "svg"
path = "examples/svg.rs"
required-features = []
[[example]]
name = "text"
path = "examples/text.rs"
required-features = []
[features]
bmp = ["image/bmp"]
dds = ["image/dds"]
default = ["html"]
gif = ["image/gif"]
hdr = ["image/hdr"]
html = ["kuchiki", "azul-css", "azul-core", "azul-layout", "rust-fontconfig", "xmlparser"]
ico = ["image/ico"]
jpeg = ["image/jpeg"]
js-sys = ["dep:js-sys", "web-sys", "wasm-bindgen-futures"]
png = ["image/png"]
pnm = ["image/pnm"]
rayon = ["image/rayon"]
tga = ["image/tga"]
tiff = ["image/tiff"]
webp = ["image/webp"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "printpdf"
path = "src/lib.rs"
[package]
authors = ["Felix Schütt <felix.schuett@maps4print.com>", "Julien Schminke <julien.schminke@web.de"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["gui"]
description = "Rust library for reading and writing PDF files"
edition = "2021"
exclude = ["./assets/*", "./doc/*", "./examples/*"]
homepage = "https://github.com/fschutt/printpdf"
keywords = ["pdf", "gui", "graphics", "wkhtmltopdf"]
license = "MIT"
name = "printpdf"
readme = "README.md"
repository = "https://github.com/fschutt/printpdf"
version = "0.8.0"
[package.metadata.docs.rs]
all-features = true
[target.'cfg(all(target_arch="wasm32",target_os="unknown"))'.dependencies.js-sys]
optional = true
version = "0.3.40"
[target.'cfg(all(target_arch="wasm32",target_os="unknown"))'.dependencies.wasm-bindgen-futures]
default-features = false
version = "0.4.50"
[target.'cfg(target_family = "wasm")'.dependencies.serde_json]
version = "1"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2"
[[test]]
name = "cmap"
path = "tests/cmap.rs"
[[test]]
name = "font"
path = "tests/font.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "op"
path = "tests/op.rs"
[[test]]
name = "parsing"
path = "tests/parsing.rs"
[[test]]
name = "svg"
path = "tests/svg.rs"