[package]
edition = "2024"
name = "paperdown"
version = "0.2.0"
authors = ["Anatoly Tsyplenkov <atsyplenkov@fastmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast CLI tool to batch convert PDFs into Markdown using GLM-OCR."
homepage = "https://github.com/atsyplenkov/paperdown"
documentation = "https://docs.rs/paperdown"
readme = "README.md"
keywords = [
"ocr",
"pdf",
"markdown",
"cli",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT"
repository = "https://github.com/atsyplenkov/paperdown"
[features]
default = []
internal-testing = []
net-tests = []
[lib]
name = "paperdown"
path = "src/lib.rs"
[[bin]]
name = "paperdown"
path = "src/main.rs"
[[test]]
name = "cli_coverage"
path = "tests/cli_coverage.rs"
[[test]]
name = "cli_existing_output"
path = "tests/cli_existing_output.rs"
[[test]]
name = "core_internal"
path = "tests/core_internal.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dotenvy]
version = "0.15"
[dependencies.futures]
version = "0.3"
[dependencies.indicatif]
version = "0.17"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"json",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.time]
version = "0.3"
features = ["formatting"]
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"fs",
"sync",
]
[dependencies.url]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.httpmock]
version = "0.7"
[dev-dependencies.tempfile]
version = "3"
[profile.release]
opt-level = "z"
strip = "symbols"