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 16C261FF13F for ; Thu, 12 Feb 2026 11:58:26 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7FEA9C4C3; Thu, 12 Feb 2026 11:59:08 +0100 (CET) Message-ID: <8cb97a75-fd28-468e-adb0-0863c76d10fd@proxmox.com> Date: Thu, 12 Feb 2026 11:59:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [pve-devel] [PATCH proxmox 01/11] serde: implement ini serializer To: Christoph Heiss References: <20260116153317.1146323-1-c.heiss@proxmox.com> <20260116153317.1146323-2-c.heiss@proxmox.com> Content-Language: en-US From: Stefan Hanreich In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.720 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: NZOFVP6M6WNLSY34PE3CZKSLQN3HWMKT X-Message-ID-Hash: NZOFVP6M6WNLSY34PE3CZKSLQN3HWMKT X-MailFrom: s.hanreich@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 2/11/26 7:39 PM, Christoph Heiss wrote: > 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 = "0.10" >>> pam-sys = "0.5" >>> percent-encoding = "2.1" >>> pin-utils = "0.1.0" >>> +pretty_assertions = "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. Yeah, built it with 1.4.0 on my machine and have it running the fabrics already, I'll add some notes to the other patches as soon as I wrap up that series.