[package]
name = "mdkit"
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
authors = ["mdkit contributors"]
description = "Get markdown out of any document — Pandoc + pdfium + platform-native OCR, dispatched per format."
documentation = "https://docs.rs/mdkit"
homepage = "https://github.com/mdkit-project/mdkit"
repository = "https://github.com/mdkit-project/mdkit"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["markdown", "pdf", "docx", "pandoc", "ocr"]
categories = ["text-processing", "parser-implementations", "filesystem"]
exclude = [
"/.github",
"/tests/fixtures/large/*",
]
[features]
default = ["pdf", "calamine", "csv", "html"]
pdf = []
calamine = []
csv = []
html = []
pandoc = []
ocr-platform = []
ocr-onnx = []
full = ["pdf", "pandoc", "ocr-platform", "ocr-onnx", "calamine", "csv", "html"]
[dependencies]
thiserror = "2"
[dev-dependencies]
tempfile = "3"
[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"