rasgapdf 0.2.2

Blazing-fast spatial 2D PDF parser in pure Rust with multi-language bindings (Python, Node.js, Go, C#) for RAG, LLMs, bounding boxes, and table 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"
name = "rasgapdf"
version = "0.2.2"
authors = ["Messias Martins"]
build = false
exclude = [
    "bindings/*",
    "demo_gradio/*",
    "space_hf/*",
    "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#) for RAG, LLMs, bounding boxes, and table extraction"
homepage = "https://martinsmessias.github.io/rasgapdf/"
documentation = "https://docs.rs/rasgapdf"
readme = "README.md"
keywords = [
    "pdf",
    "spatial",
    "parser",
    "layout-analysis",
    "bounding-box",
]
categories = [
    "text-processing",
    "parsing",
    "command-line-utilities",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/MartinsMessias/rasgapdf"

[lib]
name = "rasgapdf"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "rasgapdf"
path = "src/main.rs"

[[test]]
name = "extraction"
path = "tests/extraction.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"

[dependencies.sha2]
version = "0.10"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true