gaze-document 0.10.1

Reversible PII pseudonymization for documents — Tesseract OCR + Gaze redact → SafeBundle (clean Markdown + manifest + report).
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.89"
name = "gaze-document"
version = "0.10.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reversible PII pseudonymization for documents — Tesseract OCR + Gaze redact → SafeBundle (clean Markdown + manifest + report)."
homepage = "https://github.com/EmpireTwo/gaze"
readme = "README.md"
keywords = [
    "pii",
    "gaze",
    "document",
    "ocr",
    "bundle",
]
categories = ["text-processing"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/EmpireTwo/gaze"

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

[features]
default = [
    "ocr-tesseract",
    "pdf-input",
]
extract-docling = []
mcp = [
    "dep:async-trait",
    "dep:gaze-mcp-core",
    "ocr-tesseract",
    "pdf-input",
]
ocr-tesseract = []
pdf-input = [
    "dep:pdfium-render",
    "dep:image",
]
render-image = []

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

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

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "mcp_stdio"
path = "tests/mcp_stdio.rs"

[[test]]
name = "ocr_backend"
path = "tests/ocr_backend.rs"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.gaze]
version = "0.10.1"
package = "gaze-pii"

[dependencies.gaze-mcp-core]
version = "0.10.1"
optional = true

[dependencies.gaze-recognizers]
version = "0.10.1"

[dependencies.gaze-types]
version = "0.10.1"

[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[dependencies.pdfium-render]
version = "0.9"
optional = true

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dev-dependencies.ab_glyph]
version = "0.2"

[dev-dependencies.gaze-mcp-rmcp]
version = "0.10.1"

[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dev-dependencies.imageproc]
version = "0.26"
features = ["text"]
default-features = false

[dev-dependencies.rmcp]
version = "1.6.0"
features = [
    "client",
    "server",
    "macros",
    "transport-async-rw",
]

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
]