[package]
name = "ocr"
version = "0.1.0"
edition = "2024"
authors = ["Ying Kit WONG"]
license = "Apache-2.0"
description = "A minimalist OCR library for Rust — from scratch, no external engine"
repository = "https://github.com/yingkitw/ocr-rs"
homepage = "https://github.com/yingkitw/ocr-rs"
documentation = "https://docs.rs/ocr"
[[bin]]
name = "ocr"
path = "src/bin/cli.rs"
[[bin]]
name = "ocr-mcp"
path = "src/bin/mcp.rs"
[[example]]
name = "generate_images"
path = "examples/generate_images.rs"
[dependencies]
image = "0.25"
thiserror = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive"] }
anyhow = "1"
tokio = { version = "1", features = ["full"] }
rmcp = { version = "1.6.0", features = ["server", "macros", "transport-io", "schemars"] }
schemars = "1"
base64 = "0.22"
tracing = "0.1"
tracing-subscriber = "0.3"