Jonas Schäfer
4e9e18444c
Avoid enabling multiple rustls backends by accident
...
For this, we had to:
- Make the choice(s) of backend explicit in tokio-xmpp features
- Avoid picking a backend through transitive dependencies in xmpp
(reqwest->hyper->rustls).
In addition, we choose the default rustls backend by default and adapt
the examples so that they can cope with either situation.
2025-05-10 11:39:21 +02:00
Jonas Schäfer
78714475b2
tokio-xmpp: re-export rustls if using rustls backend
...
The user may have to call some global rustls functions depending on the
exact feature set of rustls enabled. Hence, we have to expose it.
Concretely, if the user somehow ends up with more than one rustls
backend, they have to configure one of the backends as default backend
at startup.
2025-05-10 11:09:58 +02:00
Jonas Schäfer
70d635b0fb
Bump rxml to 0.13.1
...
rxml 0.13.0 changed the quoting style to make it consistent, so we have
to patch up all affected places where we match exact strings.
2025-04-22 17:47:45 +02:00
Emmanuel Gil Peyrot
b8f64037a9
tokio-xmpp: Fix build on insecure-tcp
...
insecure-tcp requires the io-util feature of tokio, so let’s enable it
there.
Fixes this error:
5 | use tokio::{io::BufStream, net::TcpStream};
| ^^^^^^^^^^^^^ no `BufStream` in `io`
2025-02-10 15:40:53 +01:00
Jonas Schäfer
8a4d548d9a
tokio_xmpp: implement IQ tracking
2025-01-26 17:15:41 +01:00
Emmanuel Gil Peyrot
f8347165fd
tokio-xmpp: Add forgotten ChangeLog entry for ktls support
2024-12-18 18:33:42 +00:00
Jonas Schäfer
c723897326
tokio_xmpp: introduce xmlstream module
...
This module provides XSO-based parsing, proper typestates and will
soon replace the proto module.
2024-08-29 16:42:57 +02:00
9f4af1625d
Component is now behind insecure-tcp feature flag
2024-08-10 18:09:12 +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
a3fbd77050
Remove tokio_xmpp::SimpleClient
2024-08-10 16:49:24 +02:00
2fc8e1c1dd
AsyncClient::new reconnects by default, fixes disconnect logic
2024-08-08 15:33:17 +02:00
84511b54a0
Only expose one error type in crate root
2024-08-04 18:17:17 +02:00
34796c90d4
Only expose one error type in crate root
2024-08-04 16:04:09 +00:00
5de1891f06
Merged starttls::ConnectorError into starttls::Error
2024-08-04 12:39:56 +00:00
b9fc15977b
Replace tokio_xmpp::stream_features with parsers
2024-08-02 18:25:32 +00:00
ee3d86ec42
Remove tokio_xmpp::ParseError and tokio_xmpp::starttls::ParseError
2024-08-01 12:55:17 +00:00
Maxime “pep” Buquet
6995961d38
tokio-xmpp: Update ChangeLog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-27 19:04:03 +02:00
034976748a
Add serde feature for xmpp crate
2024-06-05 11:20:33 +02:00
Maxime “pep” Buquet
adeb4154de
tokio-xmpp: bump to 3.5
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 20:35:03 +02:00
Maxime “pep” Buquet
68a8c043a2
tokio-xmpp: bump to 3.4.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
Maxime “pep” Buquet
6c8855a6d5
tokio-xmpp: Update Changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
Maxime “pep” Buquet
e9cbeb1863
tokio-xmpp: debug print stream:stream too
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-21 12:21:52 +02: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