ocrs-cli 0.12.2

OCR CLI tool for extracting text from images
[package]
name = "ocrs-cli"
version = "0.12.2"
edition = "2021"
authors = ["Robert Knight"]
description = "OCR CLI tool for extracting text from images"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/robertknight/ocrs"
repository = "https://github.com/robertknight/ocrs"

[dependencies]
image = { version = "0.25.9", default-features = false, features = ["png", "jpeg", "webp"] }
png = "0.18.1"
serde_json = "1.0.149"
rten = { workspace = true }
rten-imageproc = { workspace = true }
rten-tensor = { workspace = true }
ocrs = { path = "../ocrs", version = "0.12.2" }
lexopt = "0.3.2"
url = "2.5.4"
anyhow = "1.0.102"

[features]
# Support loading custom models in ONNX format
onnx = ["ocrs/onnx"]
# Support reading images from system clipboard
clipboard = ["arboard"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ureq = "3.2.0"
home = "0.5.12"
arboard = { version = "3", optional = true }

[[bin]]
name = "ocrs"
path = "src/main.rs"

# Disable documentation for ocrs binary to avoid a filename conflict in
# `target/doc/` with docs for the ocrs library crate.
doc = false