mdkit 0.4.0

Get markdown out of any document — Pandoc + pdfium + platform-native OCR, dispatched per format.
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"
rust-version = "1.75"
name = "mdkit"
version = "0.4.0"
authors = ["mdkit contributors"]
build = false
exclude = [
    "/.github",
    "/tests/fixtures/large/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Get markdown out of any document — Pandoc + pdfium + platform-native OCR, dispatched per format."
homepage = "https://github.com/mdkit-project/mdkit"
documentation = "https://docs.rs/mdkit"
readme = "README.md"
keywords = [
    "markdown",
    "pdf",
    "docx",
    "pandoc",
    "ocr",
]
categories = [
    "text-processing",
    "parser-implementations",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mdkit-project/mdkit"

[features]
calamine = ["dep:calamine"]
csv = ["dep:csv"]
default = [
    "pdf",
    "calamine",
    "csv",
    "html",
]
full = [
    "pdf",
    "pandoc",
    "ocr-platform",
    "ocr-onnx",
    "calamine",
    "csv",
    "html",
]
html = ["dep:html2md"]
ocr-onnx = []
ocr-platform = []
pandoc = []
pdf = ["dep:pdfium-render"]

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

[dependencies.calamine]
version = "0.34"
optional = true

[dependencies.csv]
version = "1"
optional = true

[dependencies.html2md]
version = "0.2"
optional = true

[dependencies.pdfium-render]
version = "0.9"
features = [
    "thread_safe",
    "pdfium_latest",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

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

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

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