From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox{, -api-types, -ve-rs} 0/6] Move perl deserializers from proxmox-login to proxmox-serde
Date: Tue, 13 May 2025 12:14:53 +0200 [thread overview]
Message-ID: <20250513101459.122641-1-s.hanreich@proxmox.com> (raw)
There are other places where we need to deal with data coming from Perl as well,
so move those helpers to a more appropriate place, where they can be re-used
across multiple crates, without having to add a dependency to proxmox-login.
proxmox-serde needs a bump, all other crates from this series depend on the
changes there.
proxmox:
Stefan Hanreich (3):
serde: add parsing helpers for perl
login: move parse module to proxmox-serde
client: move to proxmox_serde perl helpers
proxmox-client/Cargo.toml | 2 ++
proxmox-client/src/lib.rs | 4 ++--
proxmox-login/Cargo.toml | 1 +
proxmox-login/src/api.rs | 2 +-
proxmox-login/src/lib.rs | 2 --
proxmox-serde/Cargo.toml | 3 +++
proxmox-serde/src/lib.rs | 3 +++
proxmox-login/src/parse.rs => proxmox-serde/src/perl.rs | 0
8 files changed, 12 insertions(+), 5 deletions(-)
rename proxmox-login/src/parse.rs => proxmox-serde/src/perl.rs (100%)
proxmox-api-types:
Stefan Hanreich (2):
generator: use proxmox_serde for perl helpers
regenerate
Cargo.toml | 2 +-
pve-api-types/Cargo.toml | 2 +-
pve-api-types/generator-lib/Schema2Rust.pm | 26 +-
pve-api-types/src/generated/types.rs | 798 ++++++++++-----------
4 files changed, 414 insertions(+), 414 deletions(-)
proxmox-ve-rs:
Stefan Hanreich (1):
config: use proxmox_serde perl helpers
proxmox-ve-config/Cargo.toml | 1 +
proxmox-ve-config/src/firewall/bridge.rs | 3 +-
proxmox-ve-config/src/firewall/cluster.rs | 6 +-
proxmox-ve-config/src/firewall/guest.rs | 14 ++--
proxmox-ve-config/src/firewall/host.rs | 26 ++++----
proxmox-ve-config/src/firewall/parse.rs | 80 -----------------------
6 files changed, 24 insertions(+), 106 deletions(-)
Summary over all repositories:
18 files changed, 450 insertions(+), 525 deletions(-)
--
Generated by git-murpp 0.8.0
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
next reply other threads:[~2025-05-13 10:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-13 10:14 Stefan Hanreich [this message]
2025-05-13 10:14 ` [pbs-devel] [PATCH proxmox 1/3] serde: add parsing helpers for perl Stefan Hanreich
2025-05-13 10:14 ` [pbs-devel] [PATCH proxmox 2/3] login: move parse module to proxmox-serde Stefan Hanreich
2025-05-13 10:14 ` [pbs-devel] [PATCH proxmox 3/3] client: move to proxmox_serde perl helpers Stefan Hanreich
2025-05-13 10:14 ` [pbs-devel] [PATCH proxmox-api-types 1/2] generator: use proxmox_serde for " Stefan Hanreich
2025-05-13 11:44 ` Stefan Hanreich
2025-05-13 10:14 ` [pbs-devel] [PATCH proxmox-ve-rs 1/1] config: use proxmox_serde " Stefan Hanreich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250513101459.122641-1-s.hanreich@proxmox.com \
--to=s.hanreich@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox