From 5f2a58575508608b2f0841b4ecb6b371c852c46a Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Fri, 19 May 2023 09:20:44 -0300 Subject: [PATCH] remove native-tls default feature, let tauri enable it --- plugins/http/Cargo.toml | 1 - plugins/updater/Cargo.toml | 1 - plugins/upload/Cargo.toml | 1 - plugins/websocket/Cargo.toml | 1 - 4 files changed, 4 deletions(-) diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 53c4a65f..cb67760d 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -19,7 +19,6 @@ http = "0.2" reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] } [features] -default = [ "native-tls" ] multipart = [ "reqwest/multipart" ] native-tls = [ "reqwest/native-tls" ] native-tls-vendored = [ "reqwest/native-tls-vendored" ] diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index 09ad0642..3230da31 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -35,7 +35,6 @@ mockito = "0.31" tokio-test = "0.4.2" [features] -default = [ "native-tls" ] native-tls = [ "reqwest/native-tls" ] native-tls-vendored = [ "reqwest/native-tls-vendored" ] rustls-tls = [ "reqwest/rustls-tls" ] diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index cae33836..6976be56 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -22,7 +22,6 @@ futures-util = "0.3" read-progress-stream = "1.0.0" [features] -default = [ "native-tls" ] native-tls = [ "reqwest/native-tls" ] native-tls-vendored = [ "reqwest/native-tls-vendored" ] rustls-tls = [ "reqwest/rustls-tls" ] \ No newline at end of file diff --git a/plugins/websocket/Cargo.toml b/plugins/websocket/Cargo.toml index dd69f03d..596b055a 100644 --- a/plugins/websocket/Cargo.toml +++ b/plugins/websocket/Cargo.toml @@ -21,7 +21,6 @@ tokio = { version = "1", features = ["net", "sync"] } tokio-tungstenite = { version = "0.18", features = ["native-tls"] } [features] -default = [ "native-tls" ] native-tls = [ "tokio-tungstenite/native-tls" ] native-tls-vendored = [ "tokio-tungstenite/native-tls-vendored" ] rustls-tls-webpki-roots = [ "tokio-tungstenite/rustls-tls-webpki-roots" ]