[[bin]]
name = "redactor"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
features = ["derive"]
version = "4.4"
[dependencies.lopdf]
version = "0.32"
[dependencies.mupdf]
version = "0.5"
[dependencies.mupdf-sys]
version = "0.5"
[dependencies.once_cell]
version = "1.19"
[dependencies.pdf-extract]
version = "0.7"
[dependencies.printpdf]
version = "0.7"
[dependencies.regex]
version = "1.10"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.tempfile]
version = "3.10"
[lib]
name = "redactor"
path = "src/lib.rs"
[package]
authors = ["redactor contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "text-processing"]
description = "Secure PDF redaction library with Type3 font support using MuPDF"
documentation = "https://docs.rs/redactor"
edition = "2021"
exclude = ["target/*", "tests/*.pdf", ".DS_Store"]
homepage = "https://github.com/yourusername/redactor"
keywords = ["pdf", "redaction", "security", "privacy", "mupdf"]
license = "MIT"
name = "redactor"
readme = "README.md"
repository = "https://github.com/yourusername/redactor"
rust-version = "1.70"
version = "0.2.0"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true
[[test]]
name = "cli_integration_test"
path = "tests/cli_integration_test.rs"
[[test]]
name = "generate_pdfs"
path = "tests/generate_pdfs.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"