# 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"
rust-version = "1.82"
name = "docling-pdf"
version = "0.29.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF/image backend for docling.rs: pdfium text extraction + ONNX layout/table/OCR pipeline."
homepage = "https://github.com/docling-project/docling.rs"
readme = "README.md"
keywords = [
    "docling",
    "document",
    "pdf",
    "markdown",
    "converter",
]
categories = [
    "text-processing",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/docling-project/docling.rs"

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

[[example]]
name = "dump_chars"
path = "examples/dump_chars.rs"

[[example]]
name = "dump_regions"
path = "examples/dump_regions.rs"

[[example]]
name = "dump_render_modes"
path = "examples/dump_render_modes.rs"

[[example]]
name = "dump_stages"
path = "examples/dump_stages.rs"

[[example]]
name = "extract"
path = "examples/extract.rs"

[[example]]
name = "layout"
path = "examples/layout.rs"

[[example]]
name = "probe_page"
path = "examples/probe_page.rs"

[[example]]
name = "snapshot"
path = "examples/snapshot.rs"

[[example]]
name = "textparse_dump"
path = "examples/textparse_dump.rs"

[[example]]
name = "textparse_glyphs"
path = "examples/textparse_glyphs.rs"

[[example]]
name = "tf_otsl"
path = "examples/tf_otsl.rs"

[[example]]
name = "word_cells"
path = "examples/word_cells.rs"

[dependencies.docling-core]
version = "0.29.0"

[dependencies.fast_image_resize]
version = "5.1.4"

[dependencies.flate2]
version = "1"

[dependencies.image]
version = "0.25"

[dependencies.lopdf]
version = "0.34"

[dependencies.ort]
version = "2.0.0-rc.12"
features = [
    "std",
    "download-binaries",
    "tls-rustls",
]
default-features = false

[dependencies.pdfium-render]
version = "0.8"

[dependencies.regex]
version = "1.11"

[dependencies.tar]
version = "0.4"
