[[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/ypcrts/redactor"
keywords = ["pdf", "redaction", "security", "privacy", "mupdf"]
license = "MIT"
name = "redactor"
readme = "README.md"
repository = "https://github.com/ypcrts/redactor"
rust-version = "1.70"
version = "0.3.0"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true
[[test]]
name = "cli_comprehensive_test"
path = "tests/cli_comprehensive_test.rs"
[[test]]
name = "cli_unit_tests"
path = "tests/cli_unit_tests.rs"
[[test]]
name = "coverage_gaps_test"
path = "tests/coverage_gaps_test.rs"
[[test]]
name = "domain_utilities_test"
path = "tests/domain_utilities_test.rs"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "property_based_tests"
path = "tests/property_based_tests.rs"
[[test]]
name = "redaction_edge_cases_test"
path = "tests/redaction_edge_cases_test.rs"
[[test]]
name = "regex_patterns_test"
path = "tests/regex_patterns_test.rs"
[[test]]
name = "secure_redaction_edge_cases_test"
path = "tests/secure_redaction_edge_cases_test.rs"