From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 5C2421FF137 for ; Tue, 17 Feb 2026 15:16:19 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3D32F3A23; Tue, 17 Feb 2026 15:15:23 +0100 (CET) From: Daniel Kral To: pve-devel@lists.proxmox.com Subject: [RFC perl-rs 5/6] pve-rs: resource scheduling: move pve_static into resource_scheduling module Date: Tue, 17 Feb 2026 15:14:04 +0100 Message-ID: <20260217141437.584852-11-d.kral@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260217141437.584852-1-d.kral@proxmox.com> References: <20260217141437.584852-1-d.kral@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1771337676624 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.019 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: JM3RFFOO6OVMF35CJN5BFDDO4R3KMASG X-Message-ID-Hash: JM3RFFOO6OVMF35CJN5BFDDO4R3KMASG X-MailFrom: d.kral@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Daniel Kral --- pve-rs/src/bindings/mod.rs | 3 +-- pve-rs/src/bindings/resource_scheduling/mod.rs | 4 ++++ .../pve_static.rs} | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 pve-rs/src/bindings/resource_scheduling/mod.rs rename pve-rs/src/bindings/{resource_scheduling_static.rs => resource_scheduling/pve_static.rs} (99%) diff --git a/pve-rs/src/bindings/mod.rs b/pve-rs/src/bindings/mod.rs index c21b328..853a3dd 100644 --- a/pve-rs/src/bindings/mod.rs +++ b/pve-rs/src/bindings/mod.rs @@ -3,8 +3,7 @@ mod oci; pub use oci::pve_rs_oci; -mod resource_scheduling_static; -pub use resource_scheduling_static::pve_rs_resource_scheduling_static; +pub mod resource_scheduling; mod tfa; pub use tfa::pve_rs_tfa; diff --git a/pve-rs/src/bindings/resource_scheduling/mod.rs b/pve-rs/src/bindings/resource_scheduling/mod.rs new file mode 100644 index 0000000..af1fb6b --- /dev/null +++ b/pve-rs/src/bindings/resource_scheduling/mod.rs @@ -0,0 +1,4 @@ +//! Resource scheduling related bindings. + +mod pve_static; +pub use pve_static::pve_rs_resource_scheduling_static; diff --git a/pve-rs/src/bindings/resource_scheduling_static.rs b/pve-rs/src/bindings/resource_scheduling/pve_static.rs similarity index 99% rename from pve-rs/src/bindings/resource_scheduling_static.rs rename to pve-rs/src/bindings/resource_scheduling/pve_static.rs index 84a5497..44ea851 100644 --- a/pve-rs/src/bindings/resource_scheduling_static.rs +++ b/pve-rs/src/bindings/resource_scheduling/pve_static.rs @@ -2,7 +2,7 @@ pub mod pve_rs_resource_scheduling_static { //! The `PVE::RS::ResourceScheduling::Static` package. //! - //! Provides bindings for the resource scheduling module. + //! Provides bindings for the static resource scheduling module. //! //! See [`proxmox_resource_scheduling`]. -- 2.47.3