chore: lower published crate msrv to 1.91 - #1314
Conversation
The KDL-backed crates needed Rust 1.95 only because kdl 6.7 declared that floor. Since the parser is now vendored, all published crates build at the fleet's Rust 1.91 MSRV.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe change lowers five crate manifests from Rust 1.95 to 1.91, aligns the MSRV workflow with the shared floor, and uses fixed-size pair iteration in two parsing paths. ChangesMSRV alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change lowers the published MSRV and updates the corresponding checks without any actionable merge-blocking risk remaining after normal checks and review. Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Instruction counts
No instruction-count regression above 1%. Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run. Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes. Shadow comparisonParsing
|
Summary
usage-lib,usage-dynamic,clap_usage, andusage-clifrom Rust 1.95 to 1.91Why
The 1.95 floor came from the external
kdldependency. The parser is now vendored and the published crates build successfully at the fleet's existing Rust 1.91 floor. This letsusage-cliinstall on runner images currently providing Rust 1.94.A new usage release will be required before crates.io consumers receive the lower MSRV metadata.
Validation
cargo +1.91 check --locked -p <crate> --all-featurescargo +1.91 install --path cli --lockedmise run lintgit diff --checkAI-assisted — Tool: Codex; model: openai/unavailable; version: unavailable.
Note
Low Risk
Mostly manifest and CI policy plus equivalent slice chunking; consumers need a new release for crates.io MSRV metadata, and dropping Windows clippy may reduce cfg-specific lint coverage unless intentional.
Overview
Lowers the published crates’ MSRV from 1.95 to 1.91 so metadata matches the fleet toolchain (e.g.
usage-clion runners with Rust 1.94).rust-versionis updated inusage-lib,usage-dynamic,clap_usage, andusage-cli.CI MSRV checks move from a split matrix (1.91 vs 1.95) to a single 1.91 row that runs
cargo checkon every published crate, with the existing manifest↔matrix guard kept so declared floors cannot drift.KDL parsing for
required_if_eq/required_if_eq_allpairs switches fromchunks_exact(2)toas_chunks::<2>()inarg.rsandflag.rsas part of building cleanly at 1.91.Workflow comments are updated to drop the old “KDL needs 1.95” story; conformance crate comment is tweaked to past tense. The diff also removes the Windows job’s
mise r lint:clippystep while nearby comments still argue for platform-specific clippy there.Reviewed by Cursor Bugbot for commit f9861e1. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
New Features
Chores