From fa7c2fa0ed3a8b08b3fb09c37ac56298501581e5 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 12 Apr 2026 23:20:46 +0000 Subject: [PATCH] fix: switch tokio-tungstenite from native-tls to rustls to remove OpenSSL dependency native-tls pulls in openssl-sys which requires system OpenSSL headers, breaking macOS release builds. rustls-tls-native-roots is pure Rust. Co-Authored-By: Claude Opus 4.6 (1M context) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 969b5cf1..1b269ec5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ tempfile = "3" tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync"] } toml = "1.1.0" uuid = { version = "1.22.0", features = ["v4", "serde"] } -tokio-tungstenite = { version = "0.29.0", features = ["connect", "native-tls"] } +tokio-tungstenite = { version = "0.29.0", features = ["connect", "rustls-tls-native-roots"] } walkdir = "2.5.0" filetime = "0.2" matrix-sdk = { version = "0.16.0", default-features = false, features = [