xmpp-rs/parsers
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 Update edition to 2021 2023-12-15 19:40:09 +00:00
src jid: rewrite public types 2024-04-15 18:21:24 +02:00
Cargo.toml Use relative cargo paths when using local copy 2023-12-18 13:06:22 +01:00
ChangeLog parsers: re-export the jid module entirely 2023-10-26 14:03:21 +02:00
doap.xml Added xep-0264 to doap.xml 2024-02-08 16:07:41 +00:00
LICENSE Rename the xmpp-parsers directory to parsers 2021-10-11 08:24:16 +02:00
README.md xmpp-parsers: Add a README 2022-03-07 12:59:43 +01:00

xmpp-parsers

Whats this?

A crate which provides parsers and serialisers for most XMPP elements, to avoid having to deal with XML manually. It validates its inputs by default, and aims at providing useful errors when a particular XML element was invalid.

What license is it under?

MPL-2.0 or later, see the LICENSE file.