pdf2md 0.1.0

PDF → Markdown extractor with figure rasterization, table & banner detection. Built on pdfium-render.
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 = "pdf2md"
version = "0.1.0"
authors = ["Martin Miksanik <miksanik@gmail.com>"]
build = false
include = [
    "src/**/*.rs",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF → Markdown extractor with figure rasterization, table & banner detection. Built on pdfium-render."
homepage = "https://github.com/xmiksay/pdfparser"
documentation = "https://docs.rs/pdf2md"
readme = "README.md"
keywords = [
    "pdf",
    "markdown",
    "pdfium",
    "extract",
    "converter",
]
categories = [
    "text-processing",
    "parsing",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/xmiksay/pdfparser"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "pdf2md"
path = "src/bin/pdf2md.rs"
required-features = ["cli"]

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

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

[dependencies.regex]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]