[package]
edition = "2021"
name = "zpdf"
version = "0.12.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 = "conversion"
path = "tests/conversion.rs"
[[test]]
name = "embedded_files"
path = "tests/embedded_files.rs"
[[test]]
name = "forms"
path = "tests/forms.rs"
[[test]]
name = "gpu_acceptance"
path = "tests/gpu_acceptance.rs"
[[test]]
name = "gpu_overprint"
path = "tests/gpu_overprint.rs"
[[test]]
name = "gpu_softmask"
path = "tests/gpu_softmask.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 = "markup_annotations"
path = "tests/markup_annotations.rs"
[[test]]
name = "mesh_shading"
path = "tests/mesh_shading.rs"
[[test]]
name = "minimal_pdf"
path = "tests/minimal_pdf.rs"
[[test]]
name = "navigation"
path = "tests/navigation.rs"
[[test]]
name = "nchannel"
path = "tests/nchannel.rs"
[[test]]
name = "output_intents"
path = "tests/output_intents.rs"
[[test]]
name = "overprint"
path = "tests/overprint.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 = "signatures"
path = "tests/signatures.rs"
[[test]]
name = "soft_mask"
path = "tests/soft_mask.rs"
[[test]]
name = "struct_text"
path = "tests/struct_text.rs"
[[test]]
name = "structure"
path = "tests/structure.rs"
[[test]]
name = "text_extraction"
path = "tests/text_extraction.rs"
[[test]]
name = "variable_font_pdf"
path = "tests/variable_font_pdf.rs"
[dependencies.zpdf-color]
version = "0.12.0"
[dependencies.zpdf-content]
version = "0.12.0"
[dependencies.zpdf-core]
version = "0.12.0"
[dependencies.zpdf-display-list]
version = "0.12.0"
[dependencies.zpdf-document]
version = "0.12.0"
[dependencies.zpdf-font]
version = "0.12.0"
[dependencies.zpdf-image]
version = "0.12.0"
[dependencies.zpdf-parser]
version = "0.12.0"
[dependencies.zpdf-render]
version = "0.12.0"
[dependencies.zpdf-render-cpu]
version = "0.12.0"
optional = true
[dependencies.zpdf-render-wgpu]
version = "0.12.0"
optional = true
[dependencies.zpdf-writer]
version = "0.12.0"
[dev-dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false
[dev-dependencies.p256]
version = "0.13"
features = [
"ecdsa",
"std",
]
default-features = false
[dev-dependencies.rand_chacha]
version = "0.3"
[dev-dependencies.rsa]
version = "0.9"
[dev-dependencies.sha2]
version = "0.10"