# 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 = "2021" rust-version = "1.65" name = "tesseract-rs" version = "0.1.18" authors = ["Cafer Can Gündoğdu "] build = "build.rs" links = "tesseract" exclude = [ "tessdata/*", "third_party/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for Tesseract OCR with optional built-in compilation" 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", ] license = "MIT" repository = "https://github.com/cafercangundogdu/tesseract-rs" [package.metadata.docs.rs] features = ["docs-only"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "tesseract_rs" crate-type = ["lib"] path = "src/lib.rs" [[test]] name = "integration_test" path = "tests/integration_test.rs" [dependencies.libc] version = "0.2.161" [dependencies.thiserror] version = "1.0.64" [dev-dependencies.image] version = "0.25.4" [dev-dependencies.imageproc] version = "0.25.0" [build-dependencies.cc] version = "1.1.30" optional = true [build-dependencies.cmake] version = "0.1.51" optional = true [build-dependencies.glob] version = "0.3.1" optional = true [build-dependencies.reqwest] version = "0.12.8" features = ["blocking"] optional = true [build-dependencies.zip] version = "2.2.0" optional = true [features] build-tesseract = [ "cc", "glob", "cmake", "reqwest", "zip", ] default = ["build-tesseract"]