xmpp-parsers: Remove Feature from disco#info

This was just a newtype for a String, but in general using it was harder
than without it.  This simplifies the public API.
This commit is contained in:
Link Mauve 2026-01-09 00:25:32 +01:00
commit 946d96d7c8
7 changed files with 23 additions and 40 deletions

View file

@ -12,6 +12,8 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
used in XMPP.
- Remove the unnecessary SaslMechanisms struct, to directly extract
SASL mechanisms in a Vec<String> in StreamFeatures.
- The type of disco::DiscoInfoResult::features changed from
Vec<Feature> to Vec<String>, this lets us remove Feature as well.
- bind::BindFeature::required is now a bool, thanks to xsos flag.
- jingle_rtp::Description::rtcp_mux is now a bool flag too.
- stream_limits::Limits now extract directly to NonZeroU32.