Skip to content

chore(ocr): ocrs 0.13.1 with rten 0.26 — the pair Dependabot split - #924

Merged
runyourempire merged 1 commit into
mainfrom
chore/ocr-deps-rten026
Oct 11, 2026
Merged

runyourempire merged 1 commit into
mainfrom
chore/ocr-deps-rten026

Conversation

@runyourempire

Copy link
Copy Markdown
Collaborator

Why not #859 / #861

Dependabot bumped ocrs (0.12 → 0.13, #859) and rten (0.24 → 0.27, #861) as two separate PRs. Both are green because CI never builds the ocr feature, and either one alone breaks it:

  • ocrs pins its rten minor: 0.12.2 requires ^0.24, and 0.13.1 requires ^0.26.
  • extractors/image.rs passes a rten::Model directly into ocrs::OcrEngine, so a second rten version in the graph is a type mismatch.
  • No ocrs release accepts rten 0.27 yet.

Change

  • ocrs 0.13.1 + rten 0.26.0, plus rten-parallel, which is new in 0.26.
  • NOTICE is unchanged: generate-notice --check reports OK, since the OCR crates are optional and off in release builds.

Verified with the feature on

  • cargo clippy --lib --features ocr -- -D warnings: clean.
  • cargo run --example test_ocr_text --features ocr, using the shipped .rten models on a real screenshot crop: 3 lines, confidence 0.70, text correct ("Final report: remaining audit items (11 Oct 00:15 local) / All the open items from my last report are fixed, merged through the merge queue, …").

Supersedes #859 and #861.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CY6KandRe2fYACyoAHwRPe

Dependabot opened #859 (ocrs 0.12 -> 0.13) and #861 (rten 0.24 -> 0.27)
separately. Both are green because CI never builds the `ocr` feature, and
either one alone breaks it: ocrs pins its rten minor (0.12.2 -> ^0.24,
0.13.1 -> ^0.26), and extractors/image.rs hands a `rten::Model` straight
to `ocrs::OcrEngine`, so a second rten version is a type mismatch. No ocrs
release accepts rten 0.27 yet.

This moves the pair together: ocrs 0.13.1 + rten 0.26.0 (+ rten-parallel,
new in 0.26). NOTICE unchanged (`generate-notice --check`: OK; the OCR
crates are optional and off in release builds).

Verified with the feature on:
- `cargo clippy --lib --features ocr -- -D warnings`: clean
- `cargo run --example test_ocr_text --features ocr` with the shipped
  text-detection/text-recognition .rten models on a real screenshot crop:
  3 lines, confidence 0.70, text correct ("Final report: remaining audit
  items (11 Oct 00:15 local) / All the open items from my last report are
  fixed, merged through the merge queue, ...")

Supersedes #859 and #861.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CY6KandRe2fYACyoAHwRPe
@runyourempire
runyourempire added this pull request to the merge queue Oct 11, 2026
Merged via the queue into main with commit 514be2f Oct 11, 2026
22 checks passed
@runyourempire
runyourempire deleted the chore/ocr-deps-rten026 branch October 11, 2026 11:52
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