Enable rustls/std feature

This commit is contained in:
Nikolay Kim 2024-12-30 18:16:18 +01:00
parent 48702413f3
commit 9809dd2646
3 changed files with 9 additions and 5 deletions

View file

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
check:
name: Check for build failures
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -24,7 +24,7 @@ jobs:
toolchain: stable
components: clippy
- run:
cargo test --all --no-default-features --features="ntex/compio,ntex/cookie,ntex/url,ntex/compress,ntex/openssl,ntex/rustls,ntex/ws,ntex/brotli"
cargo clippy --all --no-default-features --features="ntex/compio,ntex/cookie,ntex/url,ntex/compress,ntex/openssl,ntex/rustls,ntex/ws,ntex/brotli"
fmt:
name: Rustfmt

View file

@ -1,5 +1,9 @@
# Changes
## [2.4.0] - 2024-12-30
* Enable rustls/std feature
## [2.3.0] - 2024-11-04
* Use updated Service trait

View file

@ -1,6 +1,6 @@
[package]
name = "ntex-tls"
version = "2.3.0"
version = "2.4.0"
authors = ["ntex contributors <team@ntex.rs>"]
description = "An implementation of SSL streams for ntex backed by OpenSSL"
keywords = ["network", "framework", "async", "futures"]
@ -22,14 +22,14 @@ default = []
openssl = ["tls_openssl"]
# rustls support
rustls = ["tls_rust"]
rustls = ["tls_rust", "tls_rust/std"]
rustls-ring = ["tls_rust", "tls_rust/ring", "tls_rust/std"]
[dependencies]
ntex-bytes = "0.1"
ntex-io = "2.3"
ntex-util = "2.5"
ntex-service = "3.3"
ntex-service = "3.4"
ntex-net = "2"
log = "0.4"