[package]
edition = "2021"
rust-version = "1.75"
name = "unpdf"
version = "0.1.5"
authors = ["iyulab"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance PDF content extraction to Markdown, text, and JSON"
homepage = "https://github.com/iyulab/unpdf"
documentation = "https://docs.rs/unpdf"
readme = "README.md"
keywords = [
"pdf",
"markdown",
"text-extraction",
"document",
"parser",
]
categories = [
"parser-implementations",
"text-processing",
]
license = "MIT"
repository = "https://github.com/iyulab/unpdf"
[features]
async = ["tokio"]
default = ["fast-parse"]
fast-parse = []
ffi = []
[lib]
name = "unpdf"
crate-type = [
"lib",
"cdylib",
]
path = "src/lib.rs"
[[test]]
name = "converter_test"
path = "tests/converter_test.rs"
[[test]]
name = "streaming_test"
path = "tests/streaming_test.rs"
[[test]]
name = "visitor_test"
path = "tests/visitor_test.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.log]
version = "0.4"
[dependencies.lopdf]
version = "0.39"
[dependencies.pdf-extract]
version = "0.7"
[dependencies.rayon]
version = "1.10"
[dependencies.regex]
version = "1.11"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.42"
features = [
"rt",
"fs",
]
optional = true
[dependencies.unicode-normalization]
version = "0.1"
[dev-dependencies.tempfile]
version = "3.14"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1