mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-14 19:27:04 -04:00
* Rework faux-redaction audit per maintainer review - Paint-order aware: a rectangle counts as a cover only when painted strictly after the text (positions from the joined content stream). - Colour-aware: WCAG contrast between text and cover must be below 3.0, so page backgrounds, table shading and highlights are not flagged. - Fail closed: audit_redactions returns Err on undecodable content streams (decoded_strict) and malformed /Annots; the operator bound is an error, not a silent truncation. - Graphics state carries across a page's content streams (one joined walk); form XObjects still isolate their state at Do. - Audit-only: the sanitize-for-sharing half is dropped (upstream #162). - Parity entry marked partial, not shipped. * Audit: register its layer, add a README, fail closed past 32 nested forms, document what it doesn't check --------- Co-authored-by: Erick Barraza <[email protected]> Co-authored-by: Brandon Thomas <[email protected]>
48 lines
1.7 KiB
TOML
48 lines
1.7 KiB
TOML
[package]
|
|
name = "pdfcraft-engine"
|
|
description = "PdfCraft engine façade: session, documents, command/tool catalogue"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
pdfcraft-measure = { workspace = true }
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "tiff"] }
|
|
pdfcraft-render = { workspace = true }
|
|
pdfcraft-cos = { workspace = true }
|
|
pdfcraft-organize = { workspace = true }
|
|
pdfcraft-annot = { workspace = true }
|
|
pdfcraft-forms = { workspace = true }
|
|
pdfcraft-xfa = { workspace = true }
|
|
pdfcraft-edit = { workspace = true }
|
|
pdfcraft-audit = { workspace = true }
|
|
pdfcraft-redact = { workspace = true }
|
|
pdfcraft-print = { workspace = true }
|
|
pdfcraft-xfdf = { workspace = true }
|
|
pdfcraft-sign = { workspace = true }
|
|
pdfcraft-optimize = { workspace = true }
|
|
pdfcraft-a11y = { workspace = true }
|
|
pdfcraft-ocr = { workspace = true }
|
|
pdfcraft-js = { workspace = true }
|
|
pdfcraft-compare = { workspace = true }
|
|
pdfcraft-preflight = { workspace = true }
|
|
pdfcraft-export = { workspace = true }
|
|
pdfcraft-fonts = { workspace = true }
|
|
pdfcraft-create = { workspace = true }
|
|
pdfcraft-model = { workspace = true }
|
|
pdfcraft-geom = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
png = "0.18"
|
|
# Already in the graph (url and idna through webbrowser, icu_properties through boa): they show
|
|
# the host of a document's link the way the browser reads it (links::display_host).
|
|
url = "2.5"
|
|
idna = "1.1"
|
|
icu_properties = "2.3"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
# Already in the graph through lopdf; used only for the local UTC offset ("today").
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|