Jonas Schäfer
75e0cb7dc3
parsers: improve xml:lang handling
...
This is still far from being a full fix. Still, we can avoid the lang
attribute (by allowing discarding the `xml:lang` value via the feature
introduced a couple commits ago) and we can avoid emitting `xml:lang=""`
where no language was previously set using the mechanism introduced for
<message/> in 5172fb5e .
2025-04-18 13:16:21 +02:00
Jonas Schäfer
5172fb5e0f
parsers: port Message to use the derive macros
2025-04-18 12:56:03 +02:00
Jonas Schäfer
35ce86243f
client: use stanzastream!
2024-12-17 18:16:02 +01:00
Jonas Schäfer
ab10e30ac0
Port crates to use new XSO-based xmlstream
2024-08-29 16:47:13 +02:00
0b58561003
Rename AsyncClient to Client
2024-08-10 16:57:51 +02:00
Emmanuel Gil Peyrot
e9b226e1ae
tokio-xmpp: Import Jid, BareJid and Element properly
...
xmpp-parsers has stopped reexporting them, instead it reexports only the
crates themselves.
2024-07-25 14:36:09 +00:00
Emmanuel Gil Peyrot
1bab5c3cd9
Remove redundant imports
...
These became warnings in a recent nightly.
The TryFrom/TryInto imports were missed in
4089891f6c , but the rest are truly
redundant.
2024-02-27 22:57:18 +01:00
Maxime “pep” Buquet
4089891f6c
Update edition to 2021
...
- Remove TryFrom/Into and FromIterator imports
- Prevent impl_validator_using_provider macro in sasl crate from
constructing trait object
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 19:40:09 +00:00
3ac741d666
RUST_LOG=debug can now be used in tokio-xmpp examples to see XMPP network traffic
2023-06-05 15:02:35 +00:00
209bab1441
tokio_xmpp::AsyncClient and xmpp::Agent take a fully parsed Jid ( #72 )
2023-06-01 16:55:53 +02:00
Astro
537b4825a8
tokio-xmpp: rename Client to AsyncClient
2020-05-30 00:43:53 +02:00
Astro
23cb34e026
tokio-xmpp: rewrite for futures-0.3
2020-03-06 18:01:31 +01:00
Maxime “pep” Buquet
a104ebc3f6
Rustfmt pass, and rustfmt --check in CI"
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-23 01:36:02 +02:00
Maxime “pep” Buquet
34aa710366
Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 14:16:01 +02:00