pdfluent 1.2.0

Pure-Rust PDF SDK with PDF/A, digital signatures, WASM, and experimental (feature-gated) XFA support.
Documentation
# 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 = "2021"
rust-version = "1.86"
name = "pdfluent"
version = "1.2.0"
authors = ["PDFluent Contributors <team@pdfluent.com>"]
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust PDF SDK with PDF/A, digital signatures, WASM, and experimental (feature-gated) XFA support."
homepage = "https://pdfluent.com"
documentation = "https://pdfluent.com/docs"
readme = "README.md"
keywords = [
    "pdf",
    "xfa",
    "acroform",
    "pdf-forms",
    "pades",
]
categories = [
    "rendering",
    "text-processing",
    "parser-implementations",
    "encoding",
]
license = "AGPL-3.0-only OR LicenseRef-PDFluent-Commercial"
repository = "https://github.com/pdfluent/pdfluent-sdk"

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

[features]
async-tokio = ["dep:tokio"]
default = [
    "signing",
    "pdfa",
    "redaction",
    "font-subset",
]
docx-export = []
font-subset = ["pdf-manip/font-subset"]
html-to-pdf = []
internal-legacy = []
ocr-paddle = []
ocr-tesseract = []
ort = ["pdf-engine/ort"]
ort-layout = ["pdf-engine/ort-layout"]
ort-tables = ["pdf-engine/ort-tables"]
pdfa = ["dep:pdf-compliance"]
pptx-export = []
redaction = []
signing = []
tracing = ["dep:tracing"]
vision = ["pdf-engine/vision"]
wasm = []
xfa-flatten = []
xfa-js-sandboxed = ["pdf-engine/xfa-js-sandboxed"]
xlsx-export = []

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

[[example]]
name = "column_count"
path = "examples/column_count.rs"

[[example]]
name = "html_to_pdf_via_chrome"
path = "examples/html_to_pdf_via_chrome.rs"

[[example]]
name = "performance"
path = "examples/performance.rs"

[[example]]
name = "readme_hero"
path = "examples/readme_hero.rs"

[[example]]
name = "site_snippets"
path = "examples/site_snippets.rs"

[[example]]
name = "xfa_fill"
path = "examples/xfa_fill.rs"

[[bench]]
name = "facade"
path = "benches/facade.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.epub-extract]
version = "=1.2.0"

[dependencies.lopdf]
version = "=0.39.7"
default-features = false
package = "pdfluent-lopdf"

[dependencies.md5]
version = "0.8"

[dependencies.pdf-annot]
version = "=1.2.0"

[dependencies.pdf-compliance]
version = "=1.2.0"
optional = true

[dependencies.pdf-docx]
version = "=1.2.0"

[dependencies.pdf-engine]
version = "=1.2.0"
features = ["xfa"]

[dependencies.pdf-forms]
version = "=1.2.0"
package = "pdfluent-forms"

[dependencies.pdf-interpret]
version = "=0.6.1"

[dependencies.pdf-manip]
version = "=1.2.0"

[dependencies.pdf-pptx]
version = "=1.2.0"

[dependencies.pdf-redact]
version = "=1.2.0"

[dependencies.pdf-sign]
version = "=1.2.0"
package = "pdfluent-sign"

[dependencies.pdf-standard-fonts]
version = "=1.2.0"

[dependencies.pdf-syntax]
version = "=0.6.1"

[dependencies.pdf-xlsx]
version = "=1.2.0"

[dependencies.serde_json]
version = "1"

[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.7"
default-features = false
package = "pdfluent-lopdf"

[dev-dependencies.png]
version = "0.17"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.zip]
version = "9"
features = ["deflate"]
default-features = false

[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-render]
version = "=1.2.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.png]
version = "0.17"

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