mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 21:07:39 +03:00
Disable default features for rustls (#429)
This commit is contained in:
parent
b0baf01576
commit
9406613908
6 changed files with 24 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue