| Crates.io | tesseract-plumbing |
| lib.rs | tesseract-plumbing |
| version | 0.11.1 |
| created_at | 2020-05-26 19:40:17.402548+00 |
| updated_at | 2025-02-28 20:18:41.470241+00 |
| description | Safe wrapper of `tesseract-sys` |
| homepage | https://github.com/ccouzens/tesseract-plumbing |
| repository | https://github.com/ccouzens/tesseract-plumbing |
| max_upload_size | |
| id | 246327 |
| size | 48,170 |
Crate to expose a safe version of the tesseract-sys api.
This is designed to expose the C API of tesseract in a safe manner.
Adding value by deviating from the API is a non-goal. That is left to libraries
that build on top of tesseract-plumbing.
Requires Tesseract version 5.2.0 or newer by default. Use --no-default-features if using an older version.
I'm a maintainer of both leptess and tesseract-rs.
I noticed that there was a lot of duplication in how they interact with both
leptonica-sys and
tesseract-sys. Having multiple layers
of abstraction in leptess and tesseract-rs made it hard to reason about
their memory safety.
Having a safety layer that stays simple improves the correctness and maintainability of the above libraries.