Skip to content

Commit

Permalink
Disable default features for rustls (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 authored Sep 25, 2024
1 parent b0baf01 commit 9406613
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
4 changes: 4 additions & 0 deletions ntex-net/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions ntex-net/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions ntex-tls/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions ntex-tls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand All @@ -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"
Expand All @@ -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 }
4 changes: 4 additions & 0 deletions ntex/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions ntex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 9406613

Please sign in to comment.