rightkit-pdf 0.2.0

Product-neutral PDF engine: inspect, compose (source-text replace / add text / OCR correction), font subsetting, staged atomic save, plus optional page merge/select and text extraction
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.98.0"
name = "rightkit-pdf"
version = "0.2.0"
build = false
include = [
    "src/**",
    "assets/**",
    "tests/**",
    "Cargo.toml",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Product-neutral PDF engine: inspect, compose (source-text replace / add text / OCR correction), font subsetting, staged atomic save, plus optional page merge/select and text extraction"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bogusyogi/claude"

[features]
default = [
    "merge",
    "edit",
    "fonts",
]
edit = [
    "fonts",
    "dep:getrandom",
]
extract = ["dep:pdf-extract"]
fonts = [
    "dep:fontdb",
    "dep:ttf-parser",
    "dep:subsetter",
    "dep:wuff",
]
merge = []

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

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

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

[dependencies.fontdb]
version = "0.24.0"
optional = true

[dependencies.getrandom]
version = "0.4.3"
optional = true

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

[dependencies.pdf-extract]
version = "0.12"
optional = true

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

[dependencies.sha2]
version = "0.11.0"

[dependencies.subsetter]
version = "0.2.6"
optional = true

[dependencies.thiserror]
version = "2.0.20"

[dependencies.ttf-parser]
version = "0.25.1"
optional = true

[dependencies.wuff]
version = "0.2.8"
optional = true

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

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