Skip to content

Use Rust edition 2024 for all workspace crates - #23286

Draft
paldepind wants to merge 2 commits into
mainfrom
rust-edition
Draft

paldepind wants to merge 2 commits into
mainfrom
rust-edition

Conversation

@paldepind

@paldepind paldepind commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Some of our crates (yeast, yeast-macros, yeast-schema, the QL extractor and buramu) were still on edition 2021. It's nice to be on the most recent version and it's nice not to have discrepancies across craet.s

This sets edition = "2024" once in the root workspace file and makes all workspace packages inherit it.

Bazel already uses 2024 via RUST_EDITION in MODULE.bazel so no changes is made to the Bazel setup.

The first commit has the manifest changes plus the one change required to compile (extern "C" should be unsafe extern "C" in tree-sitter-blame).

The second commit applies Clippy fixes and rustfmt formatting changes.

paldepind and others added 2 commits November 27, 2026 18:21
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 23953e7a-978d-432c-afda-c9be5ffedfa6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 23953e7a-978d-432c-afda-c9be5ffedfa6

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ Python QL-for-QL Ruby Rust Pull requests that update Rust code Unified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant