pdfv-core 0.1.1

Core validation contracts and library API for pdfv.
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 = "pdfv-core"
version = "0.1.1"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core validation contracts and library API for pdfv."
homepage = "https://github.com/tyrchen/pdfv"
documentation = "https://docs.rs/"
readme = false
keywords = []
categories = ["development-tools"]
license = "MPL-2.0"
repository = "https://github.com/tyrchen/pdfv"

[features]
bench = []
custom-profiles = []
decrypt = [
    "dep:aes",
    "dep:cbc",
    "dep:cipher",
    "dep:md-5",
    "dep:rc4",
    "dep:sha2",
    "dep:subtle",
]
default = [
    "json",
    "flate",
    "decrypt",
]
flate = ["dep:flate2"]
json = []

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

[[example]]
name = "generate_profiles"
path = "examples/generate_profiles.rs"

[[test]]
name = "encrypted"
path = "tests/encrypted.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[bench]]
name = "parser_m1"
path = "benches/parser_m1.rs"
harness = false

[dependencies.aes]
version = "0.9.0"
optional = true

[dependencies.cbc]
version = "0.2.0"
optional = true

[dependencies.cipher]
version = "0.5.1"
optional = true

[dependencies.flate2]
version = "1.1.9"
optional = true

[dependencies.md-5]
version = "0.11.0"
optional = true

[dependencies.quick-xml]
version = "0.40.1"

[dependencies.rc4]
version = "0.2.0"
optional = true

[dependencies.regex]
version = "1.12.3"

[dependencies.secrecy]
version = "0.10.3"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.11.0"
optional = true

[dependencies.subtle]
version = "2.6.1"
optional = true

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.typed-builder]
version = "0.23.2"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.flate2]
version = "1.1.9"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.serde_json]
version = "1.0.149"