Jonas Schäfer
ce57ee4b38
tokio_xmpp: add example to demonstrate stream management
2024-12-17 18:16:02 +01:00
Jonas Schäfer
35ce86243f
client: use stanzastream!
2024-12-17 18:16:02 +01:00
Emmanuel Gil Peyrot
ebfae4bddc
tokio-xmpp: Run rustfmt on that one example
...
It started breaking CI for some reason, probably a rustfmt update.
2024-09-16 23:32:49 +02:00
Jonas Schäfer
4cfe4f8429
xmlstream: implement simple timeout logic
...
This allows to detect and handle dying streams without getting stuck
forever.
Timeouts are always wrong, though, so we put the burden of choosing the
right values (mostly) on the creator of a stream.
2024-09-01 10:02:36 +02: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
311e7406f0
Make Client and Component more unified, and connectors too
2024-08-10 16:57:49 +02:00
fde4c2b640
Move XmppCodec and XmppStream to proto module
2024-08-10 16:49:26 +02:00
9151461b10
TCP connector is now in connect module
2024-08-10 16:49:26 +02:00
a3fbd77050
Remove tokio_xmpp::SimpleClient
2024-08-10 16:49:24 +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
Maxime “pep” Buquet
a39a2330aa
Revert "tokio-xmpp: rustfmt pass in examples"
...
This reverts commit 46fdd9cdfa .
2024-06-18 20:32:46 +02:00
Maxime “pep” Buquet
46fdd9cdfa
tokio-xmpp: rustfmt pass in examples
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-06-18 20:21:23 +02:00
Parker
eb0bc1b82f
Changed name to XmppCodec
2024-06-15 13:02:15 -04:00
Parker
56dc1c6e60
Added XmppCodec usage example
2024-06-15 13:02:10 -04: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
moparisthebest
019450ff4b
Add disabled-by-default insecure-tcp feature to tokio-xmpp for use by component connections
2024-01-03 19:34:03 -05: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
1e1f593233
tokio-xmpp: rustfmt
2020-05-30 00:45:22 +02:00
Astro
537b4825a8
tokio-xmpp: rename Client to AsyncClient
2020-05-30 00:43:53 +02:00
Astro
eb13634571
tokio-xmpp: rename OneshotClient to SimpleClient
2020-05-30 00:43:48 +02:00
Astro
2cd1ad217b
tokio-xmpp: add onshot_client
2020-05-30 00:43:48 +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