Re: [PATCH perl-rs v2 14/40] pve-rs: resource-scheduling: static: replace deprecated usage structs

Dominik Rusovac
2026-03-27T14:18:58Z

lgtm

On Tue Mar 24, 2026 at 7:29 PM CET, Daniel Kral wrote:
> The StaticServiceUsage is marked as deprecated in
> proxmox-resource-scheduling now to make the crate independent of the
> specific usage structs and the deserialization of these.
>
> Therefore, define the same struct in the pve_static bindings module.
>
> Though this is technically a Rust API break, the Perl bindings do not
> have the concept of structs, which are serialized as Perl hashes.
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v1 -> v2:
> - new!

[snip]

Reviewed-by: Dominik Rusovac <d.rusovac@proxmox.com>