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 3C11E1FF13B for ; Wed, 11 Feb 2026 19:39:58 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 64D0335C9B; Wed, 11 Feb 2026 19:40:40 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 11 Feb 2026 19:40:35 +0100 Message-Id: Subject: Re: [pve-devel] [PATCH proxmox 01/11] serde: implement ini serializer From: "Christoph Heiss" To: "Stefan Hanreich" X-Mailer: aerc 0.21.0 References: <20260116153317.1146323-1-c.heiss@proxmox.com> <20260116153317.1146323-2-c.heiss@proxmox.com> In-Reply-To: X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1770835149485 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.051 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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: 3WVMEGPCCWAHNAXFRJRHQ7OJBSFNYI4C X-Message-ID-Hash: 3WVMEGPCCWAHNAXFRJRHQ7OJBSFNYI4C X-MailFrom: c.heiss@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 CC: Proxmox VE development discussion X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed Feb 11, 2026 at 5:36 PM CET, Stefan Hanreich wrote: > On 1/16/26 4:32 PM, Christoph Heiss wrote: >> The official WireGuard tooling wg(8) uses a (mostly) INI-like format >> for consuming configuration. >> >> E.g. `wg syncconf` will be used by in the future by the WireGuard fabric >> for applying changes to a particular WireGuard interface. >> >> One of the quirks of the INI format used by wg(8) are that there can be >> multiple sections with the same name, which is also explicitly supported >> by this serializer. >> >> Signed-off-by: Christoph Heiss >> --- >> Cargo.toml | 1 + >> proxmox-serde/Cargo.toml | 2 + >> proxmox-serde/debian/control | 4 + >> proxmox-serde/src/ini.rs | 901 +++++++++++++++++++++++++++++++++++ >> proxmox-serde/src/lib.rs | 3 + >> 5 files changed, 911 insertions(+) >> create mode 100644 proxmox-serde/src/ini.rs >> >> diff --git a/Cargo.toml b/Cargo.toml >> index 27a69afa..3cdad8d8 100644 >> --- a/Cargo.toml >> +++ b/Cargo.toml >> @@ -114,6 +114,7 @@ openssl =3D "0.10" >> pam-sys =3D "0.5" >> percent-encoding =3D "2.1" >> pin-utils =3D "0.1.0" >> +pretty_assertions =3D "1.4.1" > > this is only available in version 1.4.0 for me via the Debian > repositories, unless I'm missing something? Right, I had (for whatever reason) a local copy of 1.4.1 installed. Everything works fine with 1.4.0 too, I'll send a fixed v2 in the next few days if nothing else comes up.