From 9cb0daff5063276bac4fb1bc9fbd098b65fab748 Mon Sep 17 00:00:00 2001 From: xz-dev Date: Sun, 28 Jul 2024 22:43:53 +0800 Subject: [PATCH] fix(https): build with webpki-roots --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 19fd357..e35035e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,6 +725,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", + "webpki-roots", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3ca2b66..e18346a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [features] -webpki-roots = [] +webpki-roots = ["hyper-rustls/webpki-roots"] [dependencies] once_cell = "1.19.0"