xmpp-parsers: Move the Stanza type from tokio-xmpp

It doesn’t come with the ensure_id() method, but otherwise this is a
much better location for it.
This commit is contained in:
Link Mauve 2026-06-08 17:30:06 +02:00 • committed by Jonas Schäfer
commit 0ef8c215d7
3 changed files with 85 additions and 0 deletions

View file

@ -24,6 +24,8 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
not be rejected by xmpp-parsers by default anymore. The `pedantic`
feature can be used to opt into the previous default behaviour.
* Improvements:
- Take the Stanza type from tokio-xmpp, it’s an enum which can wrap
Message, Presence and Iq.
- Make Priority’s inner i8 pub, which had been broken since the
conversion to xso. (!632)
- ibr::LegacyQuery now implements Default, allowing users to more