[package]
edition = "2021"
name = "rasgapdf"
version = "0.1.1"
authors = ["Messias Martins"]
build = false
exclude = [
"bindings/*",
"demo_gradio/*",
"upload_to_hf.py",
"publish_all.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blazing-fast spatial 2D PDF parser in pure Rust with multi-language bindings (Python, Node.js, Go, C#)"
readme = "README.md"
keywords = [
"pdf",
"spatial",
"parser",
"layout-analysis",
"bounding-box",
]
categories = [
"text-processing",
"parsing",
]
license = "MIT"
repository = "https://huggingface.co/martinsmessias/rasgapdf"
[lib]
name = "rasgapdf"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "rasgapdf"
path = "src/main.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.mupdf]
version = "0.8.0"
features = ["serde"]
[dependencies.rayon]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true