From bebec59bec3873435773cc3b1df27970838498e8 Mon Sep 17 00:00:00 2001 From: threema-donat <129288638+threema-donat@users.noreply.github.com> Date: Wed, 26 Jun 2024 08:39:06 +0200 Subject: [PATCH] fixup! Allow service account feature without hyper-rustls --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 89b9295dc..d9934d6e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,10 +30,12 @@ required-features = ["hyper-rustls", "service-account", "ring"] default = ["hyper-rustls", "service-account", "ring"] service_account = ["service-account"] service-account = ["rustls-pemfile"] -hyper-rustls = ["dep:hyper-rustls", "dep:rustls"] +hyper-rustls = ["dep:hyper-rustls", "__rustls"] ring = ["rustls/ring", "hyper-rustls?/ring"] aws-lc-rs = ["rustls/aws_lc_rs", "hyper-rustls?/aws-lc-rs"] -hyper-tls = ["dep:hyper-tls", "dep:rustls"] +hyper-tls = ["dep:hyper-tls", "__rustls"] +# hidden features +__rustls = ["dep:rustls"] [dependencies] anyhow = "1.0.38"