1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-09 09:44:03 +02:00
xmpp-rs/parsers/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
..
muc Update edition to 2021 2023-12-15 19:40:09 +00:00
pubsub jid: rewrite public types 2024-04-15 18:21:24 +02:00
util Make TryFrom<Element> chainable 2024-03-03 14:50:29 +00:00
attention.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
avatar.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00
bind.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
blocking.rs Make TryFrom<Element> chainable 2024-03-03 14:50:29 +00:00
bob.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00
bookmarks.rs Improve documentation 2023-12-16 17:29:00 +01:00
bookmarks2.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
caps.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00
carbons.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
cert_management.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
chatstates.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
component.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
csi.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
data_forms.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
date.rs parsers: Change deprecated FixedOffset::{east,west} for *_opt 2022-11-30 17:21:40 +01:00
delay.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
disco.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
ecaps2.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
eme.rs Make TryFrom<Element> chainable 2024-03-03 14:50:29 +00:00
extdisco.rs Update size tests 2024-03-08 16:04:55 +01:00
forwarding.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
hashes.rs Make TryFrom<Element> chainable 2024-03-03 14:50:29 +00:00
http_upload.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
ibb.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
ibr.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
idle.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
iq.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
jid_prep.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
jingle_dtls_srtp.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00
jingle_ft.rs Update size tests 2024-03-08 16:04:55 +01:00
jingle_grouping.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_ibb.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_ice_udp.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00
jingle_message.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00
jingle_raw_udp.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_rtcp_fb.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_rtp_hdrext.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_rtp.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_s5b.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
jingle_ssma.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_thumnails.rs Added jingle_thumbnails module. 2024-02-08 16:07:41 +00:00
jingle.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
legacy_omemo.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
lib.rs Added jingle_thumbnails mod to lib.rs. 2024-02-08 16:07:41 +00:00
mam_prefs.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
mam.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
media_element.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
message_correct.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
message.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
mix.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
mood.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
nick.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
ns.rs Added ns::JINGLE_THUMBNAILS 2024-02-08 16:07:41 +00:00
occupant_id.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
openpgp.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
ping.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
presence.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
private.rs Improve documentation 2023-12-16 17:29:00 +01:00
reactions.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
receipts.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
roster.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
rsm.rs Make TryFrom<Element> chainable 2024-03-03 14:50:29 +00:00
rtt.rs Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
sasl.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
server_info.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
sm.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
stanza_error.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
stanza_id.rs jid: rewrite public types 2024-04-15 18:21:24 +02:00
stream.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
time.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
tune.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
vcard_update.rs Fix last cargo doc warnings 2024-01-27 17:44:48 +00:00
vcard.rs Remove redundant imports 2024-02-27 22:57:18 +01:00
version.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
websocket.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
xhtml.rs Fix size tests on latest Rust release 2024-02-27 12:27:31 +01:00