bobine 0.5.11

PDF / Office / text → Markdown ingestion engine with ONNX formula OCR (TexTeller), layout analysis and OCR
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 = "2024"
rust-version = "1.85"
name = "bobine"
version = "0.5.11"
authors = ["opticsWolf <opticswolf@protonmail.com>"]
build = false
exclude = [
    "legacy/",
    "tests/fixtures/",
    "tests/golden/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF / Office / text → Markdown ingestion engine with ONNX formula OCR (TexTeller), layout analysis and OCR"
homepage = "https://github.com/opticsWolf/bobine"
documentation = "https://github.com/opticsWolf/bobine/docs"
readme = "README.md"
keywords = [
    "pdf",
    "markdown",
    "ocr",
    "latex",
    "formula",
]
categories = [
    "text-processing",
    "parsing",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/opticsWolf/bobine"

[features]
default = []
extension-module = [
    "dep:pyo3",
    "pyo3/extension-module",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "test_converter"
path = "tests/test_converter.rs"

[[test]]
name = "test_excel"
path = "tests/test_excel.rs"

[[test]]
name = "test_golden"
path = "tests/test_golden.rs"

[[test]]
name = "test_office"
path = "tests/test_office.rs"

[[test]]
name = "test_rapid_table"
path = "tests/test_rapid_table.rs"

[dependencies.anyhow]
version = "1"

[dependencies.binaryornot-rs]
version = "0.6.1"

[dependencies.csv]
version = "1"

[dependencies.embroider]
version = "0.1"

[dependencies.hf-hub]
version = "1.0"
features = ["blocking"]

[dependencies.image]
version = "0.25"

[dependencies.ndarray]
version = "0.17"

[dependencies.office_oxide]
version = "0.1"

[dependencies.ort]
version = "2.0.0-rc.13"
features = [
    "load-dynamic",
    "cuda",
    "rocm",
    "directml",
    "openvino",
    "coreml",
    "tensorrt",
    "half",
]

[dependencies.pdf_oxide]
version = "0.3"
features = ["rendering"]

[dependencies.pyo3]
version = "0.29"
optional = true

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.21"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.half]
version = "2"