pdfrum-crypt 0.1.0

PDF standard security handler: RC4/AES, revisions 2-6
# 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.92"
name = "pdfrum-crypt"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF standard security handler: RC4/AES, revisions 2-6"
readme = "README.md"
keywords = [
    "pdf",
    "encryption",
    "rc4",
    "aes",
    "decrypt",
]
categories = [
    "cryptography",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PoHsuanLai/pdfrum"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.aes]
version = "=0.9.3"

[dependencies.cbc]
version = "=0.2.1"

[dependencies.cipher]
version = "=0.5.2"

[dependencies.getrandom]
version = "=0.4.3"

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

[dependencies.pdfrum-object]
version = "0.1.0"

[dependencies.sha1]
version = "=0.11.0"

[dependencies.sha2]
version = "=0.11.0"

[dependencies.thiserror]
version = "=2.0.20"

[dependencies.unicode-normalization]
version = "=0.1.25"

[dependencies.zeroize]
version = "=1.8.2"
features = ["alloc"]
default-features = false

[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

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