1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-09 09:44:03 +02:00
xmpp-rs/xmpp
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
..
examples jid: rewrite public types 2024-04-15 18:21:24 +02:00
src jid: rewrite public types 2024-04-15 18:21:24 +02:00
Cargo.toml DNS/TLS deps are now optional, component now also uses ServerConnector 2024-01-01 02:09:41 -05:00
ChangeLog xmpp: version 0.5.0 2023-08-21 11:00:27 +02:00
LICENSE Remove the -rs suffix of jid, minidom and xmpp 2020-06-22 02:17:32 +02:00
README.md Finish removing 'rs' suffix in libs 2020-07-15 10:49:50 +02:00

xmpp

What's this?

A very much WIP rust XMPP library with the goals of being type-safe and well-tested.

Contact

There is an XMPP MUC for the discussion of this library, feel free to join! :)

chat@xmpp.rs

License

Mozilla Public License 2 (MPL2). See the LICENSE file.