Upgrade to Rust 2024 edition#2613
Merged
Merged
Conversation
dlachaume
temporarily deployed
to
testing-preview
June 27, 2025 09:13 — with
GitHub Actions
Inactive
dlachaume
force-pushed
the
dlachaume/2582/upgrade-to-rust-2024-edition
branch
from
July 2, 2025 13:54
8fe0b0b to
6083e1e
Compare
dlachaume
marked this pull request as ready for review
July 2, 2025 13:54
name = "client-cardano-database-v2" -version = "0.0.9" +version = "0.0.10" * client-cardano-database from `0.1.33` to `0.1.34` * mithril-cardano-node-chain from `0.1.2` to `0.1.3` * mithril-cardano-node-internal-database from `0.1.1` to `0.1.2` * mithril-build-script from `0.2.23` to `0.2.24` * mithril-cli-helper from `0.0.6` to `0.0.7` * mithril-dmq from `0.1.1` to `0.1.2` * mithril-doc-derive from `0.1.19` to `0.1.20` * mithril-doc from `0.1.24` to `0.1.25` * mithril-era from `0.1.1` to `0.1.2` * mithril-metric from `0.1.15` to `0.1.16` * mithril-persistence from `0.2.55` to `0.2.56` * mithril-resource-pool from `0.0.6` to `0.0.7` * mithril-ticker from `0.1.2` to `0.1.3` * mithril-signed-entity-preloader from `0.0.6` to `0.0.7` * mithril-api-spec from `0.1.0` to `0.1.1` * mithril-aggregator from `0.7.71` to `0.7.72` * mithril-client-cli from `0.12.17` to `0.12.18` * mithril-client-wasm from `0.9.2` to `0.9.3` * mithril-client from `0.12.18` to `0.12.19` * mithril-common from `0.6.5` to `0.6.6` * mithril-relay from `0.1.45` to `0.1.46` * mithril-signer from `0.2.258` to `0.2.259` * mithril-stm from `0.4.6` to `0.4.7` * mithril-aggregator-fake from `0.4.9` to `0.4.10` * mithril-end-to-end from `0.4.94` to `0.4.95` * [js] mithril-client-wasm from `0.9.2` to `0.9.3`
Alenar
approved these changes
Jul 2, 2025
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.
Content
This PR migrates the project codebase to the Rust
2024edition, following the transitioning guide and tooling.It's based on the preparation work done in PR #2608.
Steps:
cargo fix --edition_2021suffixes from macro expressions added bycargo fix --editionCargo.tomland set the edition field to the2024editioncargo clippyandcargo nextestcargo fmtAdditional step:
rustfmt.tomlfile with custom formatting rules (to include all formatting changes in this same PR)Warning
This PR updates a large portion of the codebase.
To avoid merge conflicts, this PR should be merged carefully, ideally when there are few pending PRs.
Pre-submit checklist
Issue(s)
Closes #2582