From 75e8fd8ff384904a2ced9d06feec23ad67cf603b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 8 Feb 2024 23:57:55 +0100 Subject: [PATCH] Allow both native-tls and rustls-tls to be enabled at the same time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … primarily for development. --- crates/matrix-sdk/build.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/matrix-sdk/build.rs b/crates/matrix-sdk/build.rs index 1d43df86adb..3c861771178 100644 --- a/crates/matrix-sdk/build.rs +++ b/crates/matrix-sdk/build.rs @@ -25,10 +25,6 @@ fn main() { native_tls_set || rustls_tls_set, "one of the features 'native-tls' or 'rustls-tls' must be enabled", ); - ensure( - !native_tls_set || !rustls_tls_set, - "only one of the features 'native-tls' or 'rustls-tls' can be enabled", - ); let is_wasm = env::var_os("CARGO_CFG_TARGET_ARCH").is_some_and(|arch| arch == "wasm32"); if is_wasm {