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 <[email protected]> > --- > 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?
