[PR #1958] chore(rust): Update crate dependencies for Fedora compatibility #2759

Closed
opened 2026-01-29 17:23:46 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1958

State: closed
Merged: Yes


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

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

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

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/1958 **State:** closed **Merged:** Yes --- ## 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](https://claude.com/claude-code)
claunia added the pull-request label 2026-01-29 17:23:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2759