chore: Set MSRV to 1.68 and pin indexmap to fix CI faliure#310
Merged
boquan-fang merged 4 commits intocamshaft:masterfrom Feb 19, 2026
Merged
chore: Set MSRV to 1.68 and pin indexmap to fix CI faliure#310boquan-fang merged 4 commits intocamshaft:masterfrom
boquan-fang merged 4 commits intocamshaft:masterfrom
Conversation
boquan-fang
approved these changes
Feb 19, 2026
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.
This change sets bolero’s MSRV to Rust 1.68 (partially reverting #309) to keep the MSRV conservative while allowing dependencies to resolve cleanly.
One important callout is that bolero-generator-derive depends on proc-macro-crate, which depends on toml_edit, which in turn depends on indexmap = "^2". Because this requirement allows any 2.x release, Cargo may resolve to newer versions (e.g. indexmap 2.12+) that require rustc 1.82 or newer, breaking the intended MSRV.
To address this, this change pins indexmap to the newest release compatible with our MSRV. The most recent indexmap version that builds on Rust 1.63+ is 2.11.2, which avoids the MSRV regression while remaining semver-compatible.
The increase from the previous MSRV of 1.66 (prior to #309) to 1.68 is intentional. Other transitive dependencies, notably syn and quote - were failing CI because they now require Rust 1.68 or newer.
This should keep bolero’s MSRV conservative, aligned with its dependencies, and restores CI stability.