1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-16 21:05:26 +02:00
xmpp-rs/parsers/src/pubsub
Jonas Schäfer 2e9c9411a3 jid: rewrite public types
This moves InnerJid into Jid and reformulates BareJid and FullJid in
terms of Jid.

Doing this has the key advantage that FullJid and BareJid can deref to
and borrow as Jid. This, in turn, has the advantage that they can be
used much more flexibly in HashMaps. However, this is (as we say in
Germany) future music; this commit only does the internal reworking.

Oh and also, it saves 20% memory on Jid objects.

Fixes #122 more thoroughly, or rather the original intent behind it.
2024-04-15 18:21:24 +02:00
..
event.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
mod.rs parsers: clippy pass 2023-12-15 19:26:06 +00:00
owner.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
pubsub.rs Remove redundant imports 2024-02-27 22:57:18 +01:00