From 8d6794f8dd66b9196ab9029f4caa15e337750f97 Mon Sep 17 00:00:00 2001 From: Renar Narubin Date: Wed, 29 Nov 2023 18:59:13 -0800 Subject: [PATCH] allow unused crate fn --- src/builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/builder.rs b/src/builder.rs index bf2764c..7a7614c 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -103,6 +103,7 @@ pub enum CreateBuilderError { type Client = hyper::client::Client>; +#[allow(unused)] // only used by some feature combinations pub(crate) fn https_connector() -> hyper_rustls::HttpsConnector { #[allow(unused_mut)] let mut roots = rustls::RootCertStore::empty();