[package]
edition = "2021"
rust-version = "1.75"
name = "pdfluent"
version = "1.0.0-beta.5"
authors = ["PDFluent Contributors <team@pdfluent.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust PDF SDK with XFA, PDF/A, digital signatures, and WASM support."
homepage = "https://pdfluent.com"
documentation = "https://pdfluent.com/docs"
readme = "README.md"
keywords = [
"pdf",
"sdk",
"document",
"forms",
"signatures",
]
categories = [
"text-processing",
"rendering",
]
license-file = "LICENSE"
repository = "https://github.com/pdfluent/examples"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async-tokio = ["dep:tokio"]
default = [
"signing",
"pdfa",
"redaction",
]
docx-export = []
html-to-pdf = []
internal-legacy = []
ocr-paddle = []
ocr-tesseract = []
pdfa = ["dep:pdf-compliance"]
pptx-export = []
redaction = []
signing = []
tracing = ["dep:tracing"]
wasm = []
xfa-flatten = []
xlsx-export = []
[lib]
name = "pdfluent"
path = "src/lib.rs"
[[test]]
name = "capability_enforcement"
path = "tests/capability_enforcement.rs"
[[test]]
name = "determinism"
path = "tests/determinism.rs"
[[test]]
name = "dx_consolidation"
path = "tests/dx_consolidation.rs"
[[test]]
name = "e2e_parity"
path = "tests/e2e_parity.rs"
[[test]]
name = "error_codes_stable"
path = "tests/error_codes_stable.rs"
[[test]]
name = "form_mutation"
path = "tests/form_mutation.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "merge"
path = "tests/merge.rs"
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "no_global_logger"
path = "tests/no_global_logger.rs"
[[test]]
name = "parity_methods"
path = "tests/parity_methods.rs"
[[test]]
name = "processing_limits"
path = "tests/processing_limits.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "tier_matrix"
path = "tests/tier_matrix.rs"
[[test]]
name = "wasm_surface"
path = "tests/wasm_surface.rs"
[[test]]
name = "web_examples"
path = "tests/web_examples.rs"
[[bench]]
name = "facade"
path = "benches/facade.rs"
harness = false
[dependencies.lopdf]
version = "=0.39.3"
default-features = false
package = "pdfluent-lopdf"
[dependencies.pdf-compliance]
version = "=1.0.0-beta.7"
optional = true
[dependencies.pdf-engine]
version = "=1.0.0-beta.6"
[dependencies.pdf-manip]
version = "=1.0.0-beta.5"
[dependencies.pdf-redact]
version = "=1.0.0-beta.5"
[dependencies.pdf-sign]
version = "=1.0.0-beta.7"
package = "pdfluent-sign"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tokio]
version = "1"
features = [
"rt",
"fs",
]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.lopdf]
version = "=0.39.3"
default-features = false
package = "pdfluent-lopdf"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.image]
version = "0.25"
features = ["jpeg"]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pdf-docx]
version = "=1.0.0-beta.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pdf-render]
version = "=1.0.0-beta.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.png]
version = "0.17"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"