From 647e9b053202e8acada9728bebd9f9f1ae0b35e2 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Mon, 8 May 2023 00:11:11 +0200 Subject: [PATCH] refactor: include missing `rustls-pemfile` in cargo `tls` feature --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 20f9975..f8eb850 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ doc = false [features] default = ["compression", "http2"] # HTTP2 -tls = ["tokio-rustls"] +tls = ["tokio-rustls", "rustls-pemfile"] http2 = ["tls"] # Compression compression = ["compression-brotli", "compression-deflate", "compression-gzip", "compression-zstd"] @@ -66,7 +66,7 @@ mime_guess = "2.0" num_cpus = { version = "1.15" } percent-encoding = "2.2" pin-project = "1.0" -rustls-pemfile = "1.0" +rustls-pemfile = { version = "1.0", optional = true } serde = { version = "1.0", default-features = false, features = ["derive"] } serde_ignored = "0.1" serde_repr = "0.1" -- libgit2 1.7.2