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`
This commit is contained in:
Emmanuel Gil Peyrot 2025-02-10 15:37:53 +01:00
commit b8f64037a9
2 changed files with 2 additions and 1 deletions

View file

@ -52,7 +52,7 @@ tls-rust-webpki-roots = ["tls-rust", "webpki-roots"]
tls-native = ["tokio-native-tls", "native-tls"]
starttls-native = ["starttls", "tls-native"]
starttls-rust = ["starttls", "tls-rust"]
insecure-tcp = []
insecure-tcp = ["tokio/io-util"]
syntax-highlighting = ["syntect"]
# Enable serde support in jid crate
serde = [ "xmpp-parsers/serde" ]