Skip to content

Conversation

@hombit
Copy link
Member

@hombit hombit commented Dec 13, 2025

Bump minimum supported Rust version to 1.85 and Rust edition to 2024, which would allow us to benefit from msrv-aware dependency resolver with cargo

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the minimum supported Rust version (MSRV) from 1.67 to 1.85 and upgrades the Rust edition from 2021 to 2024 across all three crates in the workspace. The MSRV bump enables the use of cargo's MSRV-aware dependency resolver and removes previous version constraints on cxx and cxx-build dependencies that were needed for MSRV 1.67/1.70 compatibility.

Key changes:

  • Bumped all crate versions from 0.4.x to 0.5.0 (breaking change)
  • Updated rust-version field to 1.85.0 and edition to 2024 in all Cargo.toml files
  • Removed version upper bounds on cxx and cxx-build dependencies, allowing latest 1.x versions

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Cargo.toml Updated main crate to version 0.5.0, edition 2024, and rust-version 1.85.0
ceres-solver-sys/Cargo.toml Updated to version 0.5.0, edition 2024, rust-version 1.85.0; removed cxx version constraints and cmake build dependency
ceres-solver-src/Cargo.toml Updated to version 0.5.0, edition 2024, and rust-version 1.85.0
src/solver.rs Automatic import reordering (alphabetical) due to Rust 2024 edition formatting
.github/workflows/test.yml Updated CI test matrix to use Rust 1.87 instead of 1.67

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@hombit hombit merged commit 46c3ffa into master Dec 13, 2025
27 checks passed
@hombit hombit deleted the msrv-1.85 branch December 13, 2025 17:33
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