xmpp-parsers: Switch from zero-sized types to #[xml(flag)]

That way we can simply use true/false, instead of
Some(TheZeroSizedType)/None.
This commit is contained in:
Emmanuel Gil Peyrot 2025-01-25 19:39:49 +01:00
commit 244a9bbbf2
6 changed files with 19 additions and 40 deletions

View file

@ -42,6 +42,10 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
- `Caps::hash` has been split into `Caps::hash` (the algo) and
`Caps::ver` (the actual hash), to reflect the attributes (!517)
- muc::MucUser now has an `invite` field
- cert_management::Append::no_cert_management,
cert_management::Item::no_cert_management,
ssm::StreamManagement::optional and starttls::StartTls::required are
now proper bools, instead of Option<ZeroSizedType> (!518)
* New parsers/serialisers:
- Stream Features (RFC 6120) (!400)
- Spam Reporting (XEP-0377) (!506)