otf-pdf-syntax 0.1.0

PDF syntax layer for otf-pdf: byte sources, header, lexer, objects, xref, filters, decryption and repair.
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"
rust-version = "1.88"
name = "otf-pdf-syntax"
version = "0.1.0"
authors = ["Open Tech Foundation <https://opentechf.org> and its contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF syntax layer for otf-pdf: byte sources, header, lexer, objects, xref, filters, decryption and repair."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Open-Tech-Foundation/PDF"

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

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

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

[dependencies.aes]
version = "0.8.4"

[dependencies.cbc]
version = "0.1.2"

[dependencies.flate2]
version = "1.1.9"

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

[dependencies.rc4]
version = "0.1.0"

[dependencies.sha2]
version = "0.11.0"

[lints.clippy]
expect_used = "deny"
indexing_slicing = "warn"
panic = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"