pdf-syntax 0.5.0

A low-level crate for reading PDF files.
Documentation
# 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 = "2024"
name = "pdf-syntax"
version = "0.5.0"
authors = ["Laurenz Stampfl <laurenz.stampfl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A low-level crate for reading PDF files."
homepage = "https://pdfluent.com"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jasperdew/xfa-native-rust"
resolver = "2"

[features]
default = [
    "std",
    "images",
]
images = [
    "dep:zune-jpeg",
    "dep:hayro-ccitt",
    "dep:hayro-jbig2",
    "dep:hayro-jpeg2000",
]
std = [
    "dep:flate2",
    "hayro-jbig2?/std",
    "hayro-jpeg2000?/std",
    "hayro-jpeg2000?/simd",
    "dep:rustc-hash",
    "zune-jpeg?/std",
]

[lib]
name = "pdf_syntax"
path = "src/lib.rs"

[dependencies.flate2]
version = "1"
features = ["zlib-rs"]
optional = true
default-features = false

[dependencies.hayro-ccitt]
version = "=0.2.0"
optional = true
package = "pdfluent-ccitt"

[dependencies.hayro-jbig2]
version = "=0.2.0"
optional = true
package = "pdfluent-jbig2"

[dependencies.hayro-jpeg2000]
version = "=0.3.2"
optional = true
package = "pdfluent-jpeg2000"

[dependencies.log]
version = "0.4"

[dependencies.rustc-hash]
version = "2"
optional = true

[dependencies.smallvec]
version = "1"

[dependencies.zune-jpeg]
version = "0.5"
features = [
    "neon",
    "x86",
]
optional = true
default-features = false

[dev-dependencies.aes]
version = "0.8.4"

[dev-dependencies.cbc]
version = "0.1.2"

[dev-dependencies.md5]
version = "0.8"

[dev-dependencies.sha2]
version = "0.10"