Skip to content

Conversation

@27Bslash6
Copy link
Contributor

Summary

  • Downgrade Rust edition from 2024 to 2021
  • Lower MSRV from 1.91 to 1.80

Motivation

Edition 2024 requires Rust 1.85+ (stabilized February 2025), which breaks installation for users on older stable toolchains. A user reported this on Windows with Rust 1.84:

error: feature `edition2024` is required
The package requires the Cargo feature called `edition2024`,
but that feature is not stabilized in this version of Cargo (1.84.0)

Since cachekit supports Python 3.9+ targeting enterprise environments with slower update cycles, a conservative Rust MSRV (1.80, released July 2024) aligns with that philosophy.

Changes

File Change
rust/Cargo.toml edition: 2024→2021, rust-version: 1.91→1.80

Test plan

  • maturin build passes
  • make quick-check passes

Fixes #30

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

…ility

Edition 2024 requires Rust 1.85+ which breaks installation for users
on stable toolchains (e.g., Rust 1.84). MSRV 1.82 matches cachekit-core
dependency requirements.

Changes:
- rust/Cargo.toml: edition 2024 → 2021, rust-version 1.91 → 1.82

Fixes #30
@27Bslash6 27Bslash6 merged commit 9b13722 into main Dec 18, 2025
38 checks passed
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.

Windows: Installation fails with stable Rust due to edition2024 requirement

2 participants