pdfrum-text 0.1.0

Text extraction: reading order, search, link detection
# 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 = "2024"
rust-version = "1.92"
name = "pdfrum-text"
version = "0.1.0"
build = "build.rs"
include = [
    "src/**",
    "tests/files/**",
    "tables/unicode.bin",
    "tables/unicode.manifest.json",
    "tables/PROVENANCE.md",
    "build.rs",
    "README*",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text extraction: reading order, search, link detection"
readme = "README.md"
keywords = [
    "pdf",
    "text",
    "extraction",
    "search",
]
categories = [
    "text-processing",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PoHsuanLai/pdfrum"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.kurbo]
version = "0.13.1"

[dependencies.pdfrum-common]
version = "0.1.0"

[dependencies.pdfrum-font]
version = "0.1.0"

[dependencies.pdfrum-object]
version = "0.1.0"

[dependencies.pdfrum-page]
version = "0.1.0"

[dependencies.smallvec]
version = "=1.16.0"

[dependencies.thiserror]
version = "=2.0.20"

[dev-dependencies.criterion]
version = "=0.5.1"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.pdfrum-filters]
version = "0.1.0"

[dev-dependencies.pdfrum-parser]
version = "0.1.0"

[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"