# 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.74"
name = "docling"
version = "0.28.0"
build = false
exclude = [
    "tests",
    "benches",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DocumentConverter and format backends for docling.rs (a Rust port of docling)."
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"

[features]
web-browser = ["dep:headless_chrome"]

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

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

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

[dependencies.calamine]
version = "0.26"
features = ["dates"]

[dependencies.csv]
version = "1.4.0"

[dependencies.docling-asr]
version = "0.28.0"

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

[dependencies.docling-pdf]
version = "0.28.0"

[dependencies.headless_chrome]
version = "1.0"
optional = true

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "gif",
    "bmp",
    "tiff",
    "webp",
]
default-features = false

[dependencies.mail-parser]
version = "0.11"

[dependencies.pulldown-cmark]
version = "0.13.4"
default-features = false

[dependencies.quick-xml]
version = "0.37"

[dependencies.regex]
version = "1.11"

[dependencies.roxmltree]
version = "0.20"

[dependencies.scraper]
version = "0.27.0"

[dependencies.serde_json]
version = "1"

[dependencies.ureq]
version = "3"

[dependencies.zip]
version = "2.2"
features = ["deflate"]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
