1
0
Fork 0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-07-12 22:21:53 +00:00
xmpp-rs-mirror/parsers/src
Jonas Schäfer c83ff286e0 xso-proc: add support for text codecs
Text codecs allow to customize the conversion of data from/to XML,
in particular in two scenarios:

1. When the type for which the behaviour is to be defined comes from a
   foreign crate, preventing the implementation of
   FromXmlText/IntoXmlText.

2. When there is not one obvious, or more than one sensible, way to
   convert a value to XML text and back.
2024-07-02 06:56:30 +02:00
..
muc parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:37 +02:00
pubsub parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
util xso-proc: add support for text codecs 2024-07-02 06:56:30 +02:00
attention.rs xso-proc: completely overengineer everything for no good reason! 2024-06-23 18:43:34 +02:00
avatar.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
bind.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
blocking.rs xso-proc: completely overengineer everything for no good reason! 2024-06-23 18:43:34 +02:00
bob.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
bookmarks.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
bookmarks2.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
caps.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
carbons.rs parsers: replace generate_empty_element with derive 2024-06-23 12:20:02 +02:00
cert_management.rs parsers: replace generate_empty_element with derive 2024-06-23 12:20:02 +02:00
chatstates.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02: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 parsers: replace generate_empty_element with derive 2024-06-23 12:20:02 +02:00
data_forms.rs parsers: re-arrange data_forms validation implementation 2024-06-30 11:25:45 +02:00
data_forms_validate.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:37 +02:00
date.rs parsers: add xso text trait implementations to types 2024-06-30 13:05:15 +02:00
delay.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
disco.rs xmpp-parsers: Use the new macro for the feature element 2024-06-30 21:46:25 +02:00
ecaps2.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
eme.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
extdisco.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:37 +02:00
fast.rs xmpp-parsers: Implement XEP-0484: Fast Authentication Streamlining Tokens 2024-07-01 05:53:48 +00:00
forwarding.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
hashes.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
http_upload.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
ibb.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
ibr.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
idle.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
iq.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
jid_prep.rs parsers: use derive macros for simple text-based elements 2024-07-01 08:01:42 +02:00
jingle.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
jingle_dtls_srtp.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
jingle_ft.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
jingle_grouping.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
jingle_ibb.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
jingle_ice_udp.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
jingle_message.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
jingle_raw_udp.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
jingle_rtcp_fb.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
jingle_rtp.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
jingle_rtp_hdrext.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
jingle_s5b.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
jingle_ssma.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
jingle_thumnails.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
legacy_omemo.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
lib.rs xmpp-parsers: Implement XEP-0484: Fast Authentication Streamlining Tokens 2024-07-01 05:53:48 +00:00
mam.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
mam_prefs.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
media_element.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
message.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
message_correct.rs parsers: replace some generate_element! usage with derive macros 2024-06-24 11:33:10 +02:00
mix.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:37 +02:00
mood.rs Update edition to 2021 2023-12-15 19:40:09 +00:00
nick.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
ns.rs xmpp-parsers: Implement XEP-0484: Fast Authentication Streamlining Tokens 2024-07-01 05:53:48 +00:00
occupant_id.rs parsers: replace some generate_element! usage with derive macros 2024-06-24 11:33:10 +02:00
oob.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
openpgp.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
ping.rs xso-proc: completely overengineer everything for no good reason! 2024-06-23 18:43:34 +02:00
presence.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
private.rs Improve documentation 2023-12-16 17:29:00 +01:00
reactions.rs parsers: use derive macros for simple text-based elements 2024-07-01 08:01:42 +02:00
receipts.rs parsers: replace some generate_element! usage with derive macros 2024-06-24 11:33:10 +02:00
roster.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
rsm.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
rtt.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
sasl.rs parsers: replace generate_empty_element with derive 2024-06-23 12:20:02 +02:00
server_info.rs Add support for XEP-0122: Data Forms Validation 2024-06-24 15:15:02 +02:00
sm.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
stanza_error.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
stanza_id.rs parsers: port more generate_element! usages to derive macros 2024-06-30 13:05:16 +02:00
stream.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
time.rs parsers: replace generate_empty_element with derive 2024-06-23 12:20:02 +02:00
tune.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00
vcard.rs parsers: use derive macros for simple text-based elements 2024-07-01 08:01:42 +02:00
vcard_update.rs Fix last cargo doc warnings 2024-01-27 17:44:48 +00:00
version.rs parsers: replace generate_empty_element with derive 2024-06-23 12:20:02 +02:00
websocket.rs parsers: port more elements to derive macros 2024-06-30 13:14:06 +02:00
xhtml.rs parsers: use Error type from xso 2024-06-23 09:40:52 +02:00