[package]
edition = "2021"
name = "zpdf"
version = "0.6.0"
authors = ["zpdf contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust PDF parsing library with wgpu GPU rendering"
homepage = "https://github.com/Xero-Team/zpdf"
readme = "README.md"
keywords = [
"pdf",
"renderer",
"parser",
"wgpu",
"graphics",
]
categories = [
"rendering",
"parser-implementations",
"graphics",
]
license = "MIT"
repository = "https://github.com/Xero-Team/zpdf"
[features]
cpu-render = ["dep:zpdf-render-cpu"]
default = ["cpu-render"]
gpu-render = ["dep:zpdf-render-wgpu"]
[lib]
name = "zpdf"
path = "src/lib.rs"
[[example]]
name = "dump_spans"
path = "examples/dump_spans.rs"
[[test]]
name = "annotations_ocg"
path = "tests/annotations_ocg.rs"
[[test]]
name = "forms"
path = "tests/forms.rs"
[[test]]
name = "gpu_acceptance"
path = "tests/gpu_acceptance.rs"
[[test]]
name = "inline_image"
path = "tests/inline_image.rs"
[[test]]
name = "jbig2_image"
path = "tests/jbig2_image.rs"
[[test]]
name = "jpx_image"
path = "tests/jpx_image.rs"
[[test]]
name = "mesh_shading"
path = "tests/mesh_shading.rs"
[[test]]
name = "minimal_pdf"
path = "tests/minimal_pdf.rs"
[[test]]
name = "pattern_tiling"
path = "tests/pattern_tiling.rs"
[[test]]
name = "quartz_cff_fonts"
path = "tests/quartz_cff_fonts.rs"
[[test]]
name = "shading_clip"
path = "tests/shading_clip.rs"
[[test]]
name = "soft_mask"
path = "tests/soft_mask.rs"
[[test]]
name = "text_extraction"
path = "tests/text_extraction.rs"
[dependencies.zpdf-color]
version = "0.6.0"
[dependencies.zpdf-content]
version = "0.6.0"
[dependencies.zpdf-core]
version = "0.6.0"
[dependencies.zpdf-display-list]
version = "0.6.0"
[dependencies.zpdf-document]
version = "0.6.0"
[dependencies.zpdf-font]
version = "0.6.0"
[dependencies.zpdf-image]
version = "0.6.0"
[dependencies.zpdf-parser]
version = "0.6.0"
[dependencies.zpdf-render]
version = "0.6.0"
[dependencies.zpdf-render-cpu]
version = "0.6.0"
optional = true
[dependencies.zpdf-render-wgpu]
version = "0.6.0"
optional = true