Skip to content

Bump MSRV to 1.88.0 #18395

@Jefffrey

Description

@Jefffrey

Is your feature request related to a problem or challenge?

Rust 1.91.0 was released today: https://blog.rust-lang.org/2025/10/30/Rust-1.91.0/

Per our MSRV policy we can now upgrade from 1.87.0 to 1.88.0:

## Rust Version Compatibility Policy
The Rust toolchain releases are tracked at [Rust Versions](https://releases.rs) and follow
[semantic versioning](https://semver.org/). A Rust toolchain release can be identified
by a version string like `1.80.0`, or more generally `major.minor.patch`.
DataFusion supports the last 4 stable Rust minor versions released and any such versions released within the last 4 months.
For example, given the releases `1.78.0`, `1.79.0`, `1.80.0`, `1.80.1` and `1.81.0` DataFusion will support 1.78.0, which is 3 minor versions prior to the most minor recent `1.81`.
Note: If a Rust hotfix is released for the current MSRV, the MSRV will be updated to the specific minor version that includes all applicable hotfixes preceding other policies.
DataFusion enforces MSRV policy using a [MSRV CI Check](https://github.com/search?q=repo%3Aapache%2Fdatafusion+rust-version+language%3ATOML+path%3A%2F%5ECargo.toml%2F&type=code)

Describe the solution you'd like

Bump MSRV here:

datafusion/Cargo.toml

Lines 79 to 80 in 41566db

# Define Minimum Supported Rust Version (MSRV)
rust-version = "1.87.0"

Include a note in upgrade guide.

Make any changes to codebase (let chains are supported now I believe)

Describe alternatives you've considered

No response

Additional context

Previous bump PR: #17724

Also after this is done I believe we can take on edition 2024: #15804

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions