[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"