Skip to content

chore: Set MSRV to 1.68 and pin indexmap to fix CI faliure#310

Merged
boquan-fang merged 4 commits intocamshaft:masterfrom
kaukabrizvi:reduce-msrv
Feb 19, 2026
Merged

chore: Set MSRV to 1.68 and pin indexmap to fix CI faliure#310
boquan-fang merged 4 commits intocamshaft:masterfrom
kaukabrizvi:reduce-msrv

Conversation

@kaukabrizvi
Copy link
Contributor

@kaukabrizvi kaukabrizvi commented Jan 27, 2026

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.

@kaukabrizvi kaukabrizvi marked this pull request as ready for review January 27, 2026 20:53
@boquan-fang boquan-fang self-requested a review February 19, 2026 18:31
@boquan-fang boquan-fang merged commit 73ff67c into camshaft:master Feb 19, 2026
9 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.

2 participants