From a772640e2727df5ab6ef632481e197e833f26317 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Mon, 4 Dec 2023 10:39:19 -0800 Subject: [PATCH] chore: change default tls features to rustls closes #3113 --- crates/fluvio-auth/Cargo.toml | 2 +- crates/fluvio-channel-cli/Cargo.toml | 2 +- crates/fluvio-cli-common/Cargo.toml | 2 +- crates/fluvio-cli/Cargo.toml | 2 +- crates/fluvio/Cargo.toml | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/fluvio-auth/Cargo.toml b/crates/fluvio-auth/Cargo.toml index d448631a83..8ce5269aff 100644 --- a/crates/fluvio-auth/Cargo.toml +++ b/crates/fluvio-auth/Cargo.toml @@ -23,7 +23,7 @@ tracing = { workspace = true } x509-parser = { workspace = true } fluvio-controlplane-metadata = { workspace = true } -fluvio-future = { workspace = true, features = ["net", "openssl_tls"] } +fluvio-future = { workspace = true, features = ["net", "tls"] } fluvio-protocol = { workspace = true } fluvio-socket = { workspace = true } fluvio-types = { workspace = true } diff --git a/crates/fluvio-channel-cli/Cargo.toml b/crates/fluvio-channel-cli/Cargo.toml index fba103d212..92efc8b902 100644 --- a/crates/fluvio-channel-cli/Cargo.toml +++ b/crates/fluvio-channel-cli/Cargo.toml @@ -30,7 +30,7 @@ anyhow = { workspace = true } fluvio-cli-common = { workspace = true } fluvio-channel = { workspace = true } -fluvio-future = { workspace = true, features = ["task", "subscriber", "native2_tls"], optional = true } +fluvio-future = { workspace = true, features = ["task", "subscriber", "tls"], optional = true } fluvio-types = { workspace = true, default-features = false, optional = true } fluvio-package-index = { workspace = true } diff --git a/crates/fluvio-cli-common/Cargo.toml b/crates/fluvio-cli-common/Cargo.toml index 0d681e77b5..4d53e79386 100644 --- a/crates/fluvio-cli-common/Cargo.toml +++ b/crates/fluvio-cli-common/Cargo.toml @@ -52,4 +52,4 @@ isahc = { version = "1.7", default-features = false, features = ["static-curl"] isahc = { version = "1.7", default-features = false } [dev-dependencies] -fluvio-future = { workspace = true, features = ["fs", "io", "subscriber", "native2_tls", "fixture"] } +fluvio-future = { workspace = true, features = ["fs", "io", "subscriber", "tls", "fixture"] } diff --git a/crates/fluvio-cli/Cargo.toml b/crates/fluvio-cli/Cargo.toml index cb8a6c8477..7dacb52932 100644 --- a/crates/fluvio-cli/Cargo.toml +++ b/crates/fluvio-cli/Cargo.toml @@ -97,7 +97,7 @@ fluvio-controlplane-metadata = { workspace = true, features = ["smartmodule"] } # Optional Fluvio dependencies fluvio-types = { workspace = true, optional = true } -fluvio-future = { workspace = true, features = ["fs", "io", "subscriber", "native2_tls"], optional = true } +fluvio-future = { workspace = true, features = ["fs", "io", "subscriber", "tls"], optional = true } fluvio-sc-schema = { workspace = true, features = ["use_serde"], optional = true } fluvio-spu-schema = { workspace = true, optional = true } diff --git a/crates/fluvio/Cargo.toml b/crates/fluvio/Cargo.toml index 07d4d5b6e9..3fb2c7ac4f 100644 --- a/crates/fluvio/Cargo.toml +++ b/crates/fluvio/Cargo.toml @@ -15,7 +15,7 @@ name = "fluvio" path = "src/lib.rs" [features] -default = ["openssl"] +default = ["rustls"] admin = ["fluvio-sc-schema/use_serde"] smartengine = ["fluvio-smartengine"] openssl = ["fluvio-future/openssl_tls"] @@ -27,7 +27,7 @@ async-channel = { workspace = true } async-lock = { workspace = true } async-rwlock = { workspace = true } async-trait = { workspace = true } -anyhow = { workspace = true } +anyhow = { workspace = true } base64 = { workspace = true } bytes = { workspace = true } cfg-if = { workspace = true }