index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2023-05-07 22:11:11.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2023-05-07 22:11:11.0 +00:00:00
commit
647e9b053202e8acada9728bebd9f9f1ae0b35e2 [patch]
tree
fc85bfb1704f61c1824caae44561eb3931dd3a7d
parent
af77e4a3cf6cda193ce0e1f9f6d249adb1fadcbc
download
647e9b053202e8acada9728bebd9f9f1ae0b35e2.tar.gz

refactor: include missing `rustls-pemfile` in cargo `tls` feature



Diff

 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"