Skip to content

chore: bump Rust edition to 2024 and apply cargo fix + clippy updates#943

Open
Saul-STFC wants to merge 8 commits into
stackabletech:mainfrom
Saul-STFC:rust-2024-upgrade
Open

chore: bump Rust edition to 2024 and apply cargo fix + clippy updates#943
Saul-STFC wants to merge 8 commits into
stackabletech:mainfrom
Saul-STFC:rust-2024-upgrade

Conversation

@Saul-STFC

@Saul-STFC Saul-STFC commented Jun 2, 2026

Copy link
Copy Markdown

Run cargo fix --edition and resolve resulting warnings:

Description

Please add a description here. This will become the commit message of the merge request later.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

Run `cargo fix --edition` and resolve resulting warnings:

- Add `use<>` syntax to `impl Trait` return types (auto-fixed)
- Fix Rust 2024 temporary drop order change by simplifying `_initial_reconcile_rx` handling
- Apply rustFMT suggestions
NickLarsenNZ
NickLarsenNZ previously approved these changes Jun 18, 2026

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@NickLarsenNZ NickLarsenNZ moved this from Development: In Progress to Development: In Review in Stackable Engineering Jun 19, 2026
@NickLarsenNZ NickLarsenNZ enabled auto-merge June 19, 2026 08:26
auto-merge was automatically disabled July 1, 2026 07:18

Head branch was pushed to by a user without write access

@Saul-STFC Saul-STFC force-pushed the rust-2024-upgrade branch from e62b494 to 5486a64 Compare July 1, 2026 07:23
@sbernauer sbernauer requested a review from NickLarsenNZ July 6, 2026 07:15
Comment thread Cargo.lock
Saul-STFC added 3 commits July 6, 2026 08:42
# Conflicts:
#	Cargo.toml
#	rust/operator-binary/src/controller.rs
#	rust/operator-binary/src/controller/build/jvm.rs
#	rust/operator-binary/src/controller/build/resource/reporting_task.rs
# Conflicts:
#	rust/operator-binary/src/nifi_controller.rs
@Saul-STFC

Copy link
Copy Markdown
Author

@NickLarsenNZ @sbernauer

sbernauer
sbernauer previously approved these changes Jul 13, 2026
Comment thread Cargo.toml Outdated
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.tech>
@Saul-STFC

Copy link
Copy Markdown
Author

Done @sbernauer

@sbernauer sbernauer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

IHMO this is such a small change that we can merge it before the release

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

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

3 participants