-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (40 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "tesseract-rs"
version = "0.1.18"
edition = "2021"
authors = ["Cafer Can Gündoğdu <[email protected]>"]
description = "Rust bindings for Tesseract OCR with optional built-in compilation"
license = "MIT"
repository = "https://github.com/cafercangundogdu/tesseract-rs"
documentation = "https://docs.rs/tesseract-rs"
readme = "README.md"
keywords = ["tesseract", "ocr", "bindings", "computer-vision", "text-recognition"]
categories = ["external-ffi-bindings", "computer-vision", "text-processing"]
build = "build.rs"
links = "tesseract"
rust-version = "1.65"
exclude = [
"tessdata/*",
"third_party/*",
]
[dependencies]
libc = "0.2.161"
thiserror = "1.0.64"
[dev-dependencies]
image = "0.25.4"
imageproc = "0.25.0"
[build-dependencies]
cc = { version = "1.1.30", optional = true }
glob = { version = "0.3.1", optional = true }
cmake = { version = "0.1.51", optional = true }
reqwest = { version = "0.12.8", features = ["blocking"], optional = true }
zip = { version = "2.2.0", optional = true }
[features]
default = ["build-tesseract"]
build-tesseract = ["cc", "glob", "cmake", "reqwest", "zip"]
[package.metadata.docs.rs]
features = ["docs-only"]
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "tesseract_rs"
crate-type = ["lib"]