From 35a30b0486caffbcb216fd316cbcc4952c659f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sat, 10 May 2025 10:17:42 +0200 Subject: [PATCH] tokio-xmpp: fix running examples with native-tls The dev-dependencies of tokio-xmpp accidentally pulled in the rustls feature by default, causing attempts to run it with native-tls to fail. --- tokio-xmpp/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-xmpp/Cargo.toml b/tokio-xmpp/Cargo.toml index 26d7ef18aa99dca4842b53274da875c30106840b..0656a7c66a2c414f8bcfb0a8d1bda505324685b7 100644 --- a/tokio-xmpp/Cargo.toml +++ b/tokio-xmpp/Cargo.toml @@ -40,7 +40,7 @@ ktls = { version = "6", optional = true } env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] } # this is needed for echo-component example tokio = { version = "1", features = ["signal", "test-util"] } -tokio-xmpp = { path = ".", features = ["insecure-tcp"]} +tokio-xmpp = { path = ".", default-features = false, features = ["insecure-tcp"]} [features] default = ["starttls-rust", "rustls-native-certs", "tls-rust-aws_lc_rs"]