1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-09 01:34:03 +02:00
xmpp-rs/xmpp/src
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
..
disco xmpp crate now supports ServerConnector 2024-01-03 19:34:02 -05:00
iq xmpp crate now supports ServerConnector 2024-01-03 19:34:02 -05:00
message jid: rewrite public types 2024-04-15 18:21:24 +02:00
muc Fix last cargo doc warnings 2024-01-27 17:44:48 +00:00
presence xmpp crate now supports ServerConnector 2024-01-03 19:34:02 -05:00
pubsub Fix unused variable warnings when avatars disabled 2024-01-21 13:55:39 +01:00
upload xmpp crate now supports ServerConnector 2024-01-03 19:34:02 -05:00
agent.rs Fix last cargo doc warnings 2024-01-27 17:44:48 +00:00
builder.rs xmpp: Rename ClientBuilder::new_with_server to new_with_connector 2024-02-06 01:14:50 +01:00
delay.rs Fix last cargo doc warnings 2024-01-27 17:44:48 +00:00
event_loop.rs xmpp crate now supports ServerConnector 2024-01-03 19:34:02 -05:00
event.rs Fix unused variable warnings when avatars disabled 2024-01-21 13:55:39 +01:00
feature.rs Move ClientFeature to feature module 2023-12-31 13:28:48 +01:00
lib.rs Fix building xmpp with no-default-features 2024-01-03 20:01:05 -05:00