Skip to content

Conversation

@cfsmp3
Copy link
Contributor

@cfsmp3 cfsmp3 commented Jan 2, 2026

Summary

Updates outdated Rust dependencies to ensure compatibility with system-packaged crates on Linux distributions (especially Fedora) that use newer versions than what's pinned in Cargo.toml.

Updates included:

Crate Old Version New Version Notes
tempfile 3.20 3.24 Dev dependency
strum 0.26.3 0.27 Aligned versions
strum_macros 0.25.3/0.26.4 0.27 Aligned versions
tesseract-sys 0.5.15 0.6 OCR bindings
leptonica-sys =0.4.6 0.4 Relaxed exact pin
socket2 0.5.7 0.6 Network library
env_logger 0.8.4 0.11 Breaking but compatible
thiserror 1.0.69 2.0 Breaking but compatible
derive_more 0.99.19 2.0 Required feature flags

For derive_more 2.x, the crate now requires explicit feature flags:

  • "add" feature provides Add and Sub derives
  • "not" feature provides Not and Neg derives

Related Issues

Part of the ongoing work for issue #1954 (Fedora build failures).

Depends on #1957 (palette crate update) being merged first.

🤖 Generated with Claude Code

cfsmp3 and others added 2 commits January 2, 2026 08:33
Updates the following Rust dependencies:
- tempfile: 3.20 → 3.24 (dev dependency)
- strum/strum_macros: 0.25-0.26 → 0.27 (aligned versions)
- tesseract-sys: 0.5.15 → 0.6 (relaxed pin)
- leptonica-sys: =0.4.6 → 0.4 (relaxed exact pin)
- socket2: 0.5.7 → 0.6

These updates improve compatibility with system-packaged Rust crates
on Linux distributions like Fedora that use newer versions.

Part of the ongoing work for issue #1954.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Updates the following Rust dependencies with breaking changes:
- env_logger: 0.8.4 → 0.11 (no code changes required)
- thiserror: 1.0.69 → 2.0 (no code changes required)
- derive_more: 0.99.19 → 2.0 (updated to use feature flags)

For derive_more 2.x, the crate now requires explicit feature flags:
- "add" feature provides Add and Sub derives
- "not" feature provides Not and Neg derives

These updates improve compatibility with system-packaged Rust crates
on Linux distributions like Fedora.

Part of the ongoing work for issue #1954.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@ccextractor-bot
Copy link
Collaborator

CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit a5b8bc8...:
Report Name Tests Passed
Broken 13/13
CEA-708 14/14
DVB 6/7
DVD 3/3
DVR-MS 2/2
General 27/27
Hardsubx 1/1
Hauppage 3/3
MP4 3/3
NoCC 10/10
Options 86/86
Teletext 21/21
WTV 13/13
XDS 34/34

NOTE: The following tests have been failing on the master branch as well as the PR:


This PR does not introduce any new test failures. However, some tests are failing on both master and this PR (see above).

Check the result page for more info.

@ccextractor-bot
Copy link
Collaborator

CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit a5b8bc8...:
Report Name Tests Passed
Broken 13/13
CEA-708 14/14
DVB 7/7
DVD 3/3
DVR-MS 2/2
General 27/27
Hardsubx 1/1
Hauppage 3/3
MP4 3/3
NoCC 10/10
Options 86/86
Teletext 21/21
WTV 13/13
XDS 34/34

All tests passed completely.

Check the result page for more info.

@cfsmp3 cfsmp3 merged commit 5ac184f into fix/palette-crate-fedora Jan 2, 2026
41 checks passed
@cfsmp3 cfsmp3 deleted the chore/rust-crate-updates branch January 2, 2026 18:14
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.

3 participants