pdf-textlayer 0.3.0

Add an invisible, searchable text layer to a PDF from OCR boxes.
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 = "2024"
rust-version = "1.88"
name = "pdf-textlayer"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Add an invisible, searchable text layer to a PDF from OCR boxes."
readme = "README.md"
keywords = [
    "pdf",
    "ocr",
    "searchable",
    "textlayer",
]
categories = [
    "text-processing",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/patelvivekdev/pdf-textlayer"
resolver = "2"

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "pdf-textlayer"
path = "src/main.rs"
required-features = ["cli"]

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

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.flate2]
version = "1.1.11"

[dependencies.lopdf]
version = "0.47"
features = ["rayon"]
default-features = false

[dependencies.serde_json]
version = "1.0.154"

[dependencies.thiserror]
version = "2"

[dependencies.unicode-width]
version = "0.2"