[package]
edition = "2021"
rust-version = "1.92"
name = "pdq"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF operations library"
readme = "README.md"
keywords = [
"pdf",
"split",
"merge",
"cli",
]
categories = ["command-line-utilities"]
license = "Artistic-2.0"
repository = "https://github.com/meistrari/pdq"
[features]
default = [
"render",
"text",
]
dhat-heap = ["dep:dhat"]
render = ["dep:hayro"]
text = [
"dep:hayro",
"dep:kurbo",
]
[lib]
name = "pdq"
path = "src/lib.rs"
[[bin]]
name = "pdq"
path = "src/bin/pdq.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "dimensions"
path = "tests/dimensions.rs"
[[test]]
name = "real_world"
path = "tests/real_world.rs"
[[test]]
name = "render"
path = "tests/render.rs"
[[test]]
name = "repair"
path = "tests/repair.rs"
[[test]]
name = "split_merge"
path = "tests/split_merge.rs"
[[test]]
name = "text"
path = "tests/text.rs"
[dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dependencies.dhat]
version = "0.3"
optional = true
[dependencies.hayro]
version = "0.7.1"
features = ["embed-fonts"]
optional = true
[dependencies.kurbo]
version = "0.13.1"
optional = true
[dependencies.lopdf]
version = "0.43.0"
[dependencies.memchr]
version = "2.7"
[dependencies.memmap2]
version = "0.9.9"
[dependencies.rayon]
version = "1.12.0"
[dependencies.thiserror]
version = "2.0.17"
[dev-dependencies.assert_cmd]
version = "2.1.1"
[dev-dependencies.flate2]
version = "1.0"
[dev-dependencies.hayro]
version = "0.7.1"
features = ["embed-fonts"]
[dev-dependencies.predicates]
version = "3.1.3"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.23.0"