chore: update 11 crates to Rust 2024 edition#19258
Merged
alamb merged 6 commits intoapache:mainfrom Dec 14, 2025
Merged
Conversation
alamb
reviewed
Dec 10, 2025
Contributor
alamb
left a comment
There was a problem hiding this comment.
let chains are awesome -- I think that alone is enough to justifiy the Rust 2024 edition
Thanks for pushing this along @timsaucer
alamb
approved these changes
Dec 10, 2025
Contributor
|
I was going through open PRs this morning trying to get some merged, so i took the liberty of merging up from main with this one and resolving conflicts. Once it passes CI I will merge it in as it has the potential for conflicts |
Contributor
|
Thanks again for pushing this along @timsaucer |
Member
Author
|
Thank you for finishing this one up! |
rkrishn7
pushed a commit
to massive-com/arrow-datafusion
that referenced
this pull request
Jan 22, 2026
## Which issue does this PR close? This addresses part of apache#15804 but does not close it. ## Rationale for this change Now that we are on MSRV 1.88 we can use rust edition 2024, which brings let chains and other nice features. It also improves `unsafe` checking. In order to introduce these changes in slower way instead of one massive PR that is too difficult to manage we are updating a few crates at a time. ## What changes are included in this PR? Updates these crates to 2024. - datafusion-catalog - datafusion-datasource-arrow - datafusion-datasource-avro - datafusion-datasource-csv - datafusion-datasource-json - datafusion-datasource-parquet - datafusion-pruning - datafusion-functions-table - datafusion-physical-optimizer - datafusion-spark - datafusion-catalog-listing ## Are these changes tested? Existing unit tests. There are no functional code changes. ## Are there any user-facing changes? None. ## Note It is recommended to review with the ignore whitespace setting: https://github.com/apache/datafusion/pull/19258/files?w=1 --------- Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
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.
Which issue does this PR close?
This addresses part of #15804 but does not close it.
Rationale for this change
Now that we are on MSRV 1.88 we can use rust edition 2024, which brings let chains and other nice features. It also improves
unsafechecking. In order to introduce these changes in slower way instead of one massive PR that is too difficult to manage we are updating a few crates at a time.What changes are included in this PR?
Updates these crates to 2024.
Are these changes tested?
Existing unit tests. There are no functional code changes.
Are there any user-facing changes?
None.
Note
It is recommended to review with the ignore whitespace setting: https://github.com/apache/datafusion/pull/19258/files?w=1