Skip to content

Bump tesseract-rs from 0.2.0 to 0.3.0 in /ext/parsekit - #44

Merged
cpetersen merged 1 commit into
mainfrom
dependabot/cargo/ext/parsekit/tesseract-rs-0.3.0
Jul 14, 2026
Merged

Bump tesseract-rs from 0.2.0 to 0.3.0 in /ext/parsekit#44
cpetersen merged 1 commit into
mainfrom
dependabot/cargo/ext/parsekit/tesseract-rs-0.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Bumps tesseract-rs from 0.2.0 to 0.3.0.

Release notes

Sourced from tesseract-rs's releases.

v0.3.0

Highlights

Breaking

  • MSRV raised to 1.88.
  • get_int_variable() / get_bool_variable() / get_double_variable() now return the real value / Err, not the C BOOL flag.

Added

  • FreeBSD support (build + tests in CI).
  • embed-tessdata feature — single-binary deployment via init_embedded().

Changed

  • Bundled Tesseract 5.5.2 + Leptonica 1.87.0 (C++17); all deps upgraded to latest.

Fixed

  • SIGSEGV from truncated Init4/Init5 FFI signatures.
  • Get{Int,Bool,Double}Variable FFI signatures (memory-unsafe getters).
  • Windows debug static-library naming (#17).

Thanks to @​mwstowe (#20) and @​YageGeng (#25); historical: @​bombless (#2).

Full changelog: CHANGELOG.md

Changelog

Sourced from tesseract-rs's changelog.

[0.3.0] - 2026-07-08

BREAKING CHANGES

  • Raised the minimum supported Rust version (MSRV) to 1.88 (required by the upgraded dependencies).
  • get_int_variable(), get_bool_variable() and get_double_variable() now return the actual variable value and Err(GetVariableError) when the variable is not found, instead of the C BOOL success flag.

Added

  • FreeBSD support — the build and full test suite now run on FreeBSD in CI (via a FreeBSD VM).
  • embed-tessdata feature: embed .traineddata directly into the compiled binary and load it at runtime with init_embedded() / embedded_languages().

Changed

  • Upgraded the bundled Tesseract 5.3.4 → 5.5.2 and Leptonica 1.84.1 → 1.87.0, now compiled with C++17.
  • Upgraded all dependencies to their latest versions (thiserror 2, reqwest 0.13, zip 7 deflate-only, imageproc 0.27, etc.).

Fixed

  • Fixed a SIGSEGV caused by truncated TessBaseAPIInit4 / TessBaseAPIInit5 FFI signatures (missing trailing parameters).
  • Fixed the TessBaseAPIGet{Int,Bool,Double}Variable FFI signatures (missing output pointer), which returned wrong values and could corrupt memory.
  • Fixed the Windows debug build failing to locate the d-suffixed static libraries (#17).

Contributors

  • FreeBSD support and the embed-tessdata feature were contributed by @​mwstowe (#20).
  • The deflate-only zip configuration was contributed by @​YageGeng (#25).
  • The Windows debug-library and C++17 build fixes were cross-checked against the maintained xberg-tesseract fork.
Commits
  • 56297c1 chore(release): 0.3.0 (#31)
  • bbec6e9 fix: handle Windows debug lib naming and use C++17 for Tesseract 5.5.x (#30)
  • a31d8f0 chore(deps): upgrade tesseract 5.3.4 -> 5.5.2 and leptonica 1.84.1 -> 1.87.0 ...
  • 8efcb89 fix: correct remaining GetVariable FFI signatures found by audit (#28)
  • ed936b7 fix: add missing TessBaseAPIInit4/Init5 FFI params to prevent SIGSEGV (#27)
  • c372487 chore(deps): upgrade dependencies to latest and bump MSRV to 1.88 (#26)
  • 0f3d9e9 feat: add FreeBSD support and embedded tessdata (#20)
  • 51eee77 ci: optimize cache strategy with Swatinem/rust-cache (#15)
  • d5f62c3 chore: bump zip dependency to deflate-only features (#25)
  • 704f14a style: fix formatting in test files
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github

dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps [tesseract-rs](https://github.com/cafercangundogdu/tesseract-rs) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/cafercangundogdu/tesseract-rs/releases)
- [Changelog](https://github.com/cafercangundogdu/tesseract-rs/blob/master/CHANGELOG.md)
- [Commits](cafercangundogdu/tesseract-rs@v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: tesseract-rs
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@cpetersen
cpetersen force-pushed the dependabot/cargo/ext/parsekit/tesseract-rs-0.3.0 branch from e117b84 to fe3efe5 Compare July 14, 2026 06:11
@cpetersen
cpetersen merged commit ceeab95 into main Jul 14, 2026
2 checks passed
@cpetersen
cpetersen deleted the dependabot/cargo/ext/parsekit/tesseract-rs-0.3.0 branch July 14, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant