From f9ad2f7063503a664d1bab9d962f0a7cfad622e6 Mon Sep 17 00:00:00 2001 From: Saul Beck Date: Mon, 1 Jun 2026 12:34:33 +0100 Subject: [PATCH] chore: bump Rust edition to 2024 and apply cargo fix + clippy updates Run `cargo fix --edition` and resolve resulting warnings: - Fix Rust 2024 temporary drop order change by simplifying `_initial_reconcile_rx` handling --- Cargo.nix | 2 +- Cargo.toml | 2 +- rust/operator-binary/src/webhooks/conversion.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.nix b/Cargo.nix index d77e5e01..bb6969a0 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -9936,7 +9936,7 @@ rec { "stackable-superset-operator" = rec { crateName = "stackable-superset-operator"; version = "0.0.0-dev"; - edition = "2021"; + edition = "2024"; crateBin = [ { name = "stackable-superset-operator"; diff --git a/Cargo.toml b/Cargo.toml index ff9518a7..39e037d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" version = "0.0.0-dev" authors = ["Stackable GmbH "] license = "OSL-3.0" -edition = "2021" +edition = "2024" repository = "https://github.com/stackabletech/superset-operator" [workspace.dependencies] diff --git a/rust/operator-binary/src/webhooks/conversion.rs b/rust/operator-binary/src/webhooks/conversion.rs index b5720251..342b7dbf 100644 --- a/rust/operator-binary/src/webhooks/conversion.rs +++ b/rust/operator-binary/src/webhooks/conversion.rs @@ -46,7 +46,7 @@ pub async fn create_webhook_server( field_manager: FIELD_MANAGER.to_owned(), }; - let (conversion_webhook, _initial_reconcile_rx) = + let (conversion_webhook, _) = ConversionWebhook::new(crds_and_handlers, client, conversion_webhook_options); let webhook_server_options = WebhookServerOptions {