From a1f14637f04cfdf96df57d2fdd381f2d4172c896 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 25 Sep 2024 18:46:18 +0500 Subject: [PATCH] wip --- .github/workflows/checks.yml | 2 +- ntex-tls/Cargo.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b0811d0fd..e4f92ab55 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -12,7 +12,7 @@ jobs: with: toolchain: stable components: clippy - - run: cargo clippy --all-features + - run: cargo clippy --all-features --features=["dep:rustls"] fmt: name: Rustfmt diff --git a/ntex-tls/Cargo.toml b/ntex-tls/Cargo.toml index 3d76b497e..68ce589c3 100644 --- a/ntex-tls/Cargo.toml +++ b/ntex-tls/Cargo.toml @@ -23,6 +23,8 @@ openssl = ["tls_openssl"] # rustls support rustls = ["tls_rust"] +rustls-default = ["tls_rust", "tls_rust/ring", "tls_rust/std"] + [dependencies] ntex-bytes = "0.1"