Disable default features for rustls (#429)

This commit is contained in:
Nikolay Kim 2024-09-25 19:14:56 +05:00 committed by GitHub
parent b0baf01576
commit 9406613908
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 10 deletions

View file

@ -1,5 +1,9 @@
# Changes
## [2.2.0] - 2024-09-25
* Disable default features for rustls
## [2.1.0] - 2024-08-28
* Update io api usage

View file

@ -1,6 +1,6 @@
[package]
name = "ntex-tls"
version = "2.1.0"
version = "2.2.0"
authors = ["ntex contributors <team@ntex.rs>"]
description = "An implementation of SSL streams for ntex backed by OpenSSL"
keywords = ["network", "framework", "async", "futures"]
@ -23,6 +23,7 @@ openssl = ["tls_openssl"]
# rustls support
rustls = ["tls_rust"]
rustls-ring = ["tls_rust", "tls_rust/ring", "tls_rust/std"]
[dependencies]
ntex-bytes = "0.1"
@ -37,10 +38,11 @@ log = "0.4"
tls_openssl = { version = "0.10", package = "openssl", optional = true }
# rustls
tls_rust = { version = "0.23", package = "rustls", optional = true }
tls_rust = { version = "0.23", package = "rustls", default-features = false, optional = true }
[dev-dependencies]
ntex = { version = "2", features = ["openssl", "rustls"] }
env_logger = "0.11"
rustls-pemfile = "2"
webpki-roots = "0.26"
tls_rust = { version = "0.23", package = "rustls", features = ["ring", "std"], default-features = false }