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.4.0] - 2024-09-25
* Update to glommio v0.9
## [2.3.0] - 2024-09-24
* Update to compio v0.12

View file

@ -1,6 +1,6 @@
[package]
name = "ntex-net"
version = "2.3.0"
version = "2.4.0"
authors = ["ntex contributors <team@ntex.rs>"]
description = "ntexwork utils for ntex framework"
keywords = ["network", "framework", "async", "futures"]
@ -35,12 +35,12 @@ ntex-service = "3"
ntex-bytes = "0.1"
ntex-http = "0.1"
ntex-io = "2.5"
ntex-rt = "0.4.17"
ntex-rt = "0.4.18"
ntex-util = "2"
ntex-tokio = { version = "0.5.2", optional = true }
ntex-compio = { version = "0.2.0", optional = true }
ntex-glommio = { version = "0.5.1", optional = true }
ntex-glommio = { version = "0.5.2", optional = true }
ntex-async-std = { version = "0.5.1", optional = true }
log = "0.4"

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 }

View file

@ -1,5 +1,9 @@
# Changes
## [2.6.0] - 2024-09-25
* Disable default features for rustls
## [2.5.0] - 2024-09-24
* Allow to set io tag for web server

View file

@ -1,6 +1,6 @@
[package]
name = "ntex"
version = "2.5.0"
version = "2.6.0"
authors = ["ntex contributors <team@ntex.rs>"]
description = "Framework for composable network services"
readme = "README.md"
@ -70,9 +70,9 @@ ntex-util = "2"
ntex-bytes = "0.1.27"
ntex-server = "2.4"
ntex-h2 = "1.1"
ntex-rt = "0.4.17"
ntex-rt = "0.4.18"
ntex-io = "2.5"
ntex-net = "2.3"
ntex-net = "2.4"
ntex-tls = "2.1"
base64 = "0.22"
@ -104,7 +104,7 @@ coo-kie = { version = "0.18", package = "cookie", optional = true }
tls-openssl = { version = "0.10", package = "openssl", optional = true }
# rustls
tls-rustls = { version = "0.23", package = "rustls", optional = true }
tls-rustls = { version = "0.23", package = "rustls", optional = true, default-features = false }
webpki-roots = { version = "0.26", optional = true }
# compression
@ -117,6 +117,6 @@ rand = "0.8"
time = "0.3"
futures-util = "0.3"
tls-openssl = { version = "0.10", package = "openssl" }
tls-rustls = { version = "0.23", package = "rustls" }
tls-rustls = { version = "0.23", package = "rustls", features = ["ring", "std"], default-features = false }
rustls-pemfile = "2"
webpki-roots = "0.26"