From 45a2d960294a7a3e8b3479e804b64c882bac9469 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 2 Feb 2025 07:51:25 +0200 Subject: [PATCH] Enable necessary feature for matrix-sdk which affects us if used as a library Fixes https://github.com/etkecc/rust-mxlink/issues/1 --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 73227dd..71d330b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,8 @@ async-openai = "0.27.*" base64 = "0.22.*" chrono = { version = "0.4.*", default-features = false, features = ["std", "now"] } # We'd rather not depend on this, but we cannot use the ruma-events EventContent macro without it. -matrix-sdk = { version = "0.9.0", default-features = false } +# We add the `native-tls` feature, because of https://github.com/etkecc/rust-mxlink/issues/1 +matrix-sdk = { version = "0.9.0", default-features = false, features = ["native-tls"] } mxidwc = "1.0.*" mxlink = ">=1.5.0" etke_openai_api_rust = "0.1.*"