diff --git a/Cargo.toml b/Cargo.toml index f7f7f592e8..62f53ff384 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ cargo_metadata = "0.18.1" clap = { version = "4.4.16", features = ["derive"] } criterion = { version = "0.5", features = ["async_tokio"] } dyn-clone = "1.0" -fe2o3-amqp = { version = "0.14", features = ["native-tls", "tracing", "uuid"] } +fe2o3-amqp = { version = "0.14", features = ["tracing", "uuid"] } fe2o3-amqp-ext = { version = "0.14" } fe2o3-amqp-management = { version = "0.14", features = ["tracing"] } fe2o3-amqp-cbs = { version = "0.14" } diff --git a/sdk/core/azure_core_amqp/Cargo.toml b/sdk/core/azure_core_amqp/Cargo.toml index 017fbbae36..6a8995ac19 100644 --- a/sdk/core/azure_core_amqp/Cargo.toml +++ b/sdk/core/azure_core_amqp/Cargo.toml @@ -49,6 +49,8 @@ fe2o3_amqp = [ "serde_amqp", "serde_bytes", ] +native_tls = ["fe2o3-amqp?/native-tls"] +rustls = ["fe2o3-amqp?/rustls"] [lints] workspace = true diff --git a/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml b/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml index 0387b60c25..4050133a15 100644 --- a/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml +++ b/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml @@ -43,8 +43,11 @@ tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] } [features] +default = ["native_tls"] test = [] blob_checkpoint_store = [] +native_tls = ["azure_core_amqp/native_tls"] +rustls = ["azure_core_amqp/rustls"] [[bench]] name = "benchmarks"