Repository navigation
chore(ocr): ocrs 0.13.1 with rten 0.26 — the pair Dependabot split - #924
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ocrfeature, and either one alone breaks it:^0.24, and 0.13.1 requires^0.26.extractors/image.rspasses arten::Modeldirectly intoocrs::OcrEngine, so a second rten version in the graph is a type mismatch.Change
rten-parallel, which is new in 0.26.generate-notice --checkreports 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.rtenmodels 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