Skip to content

Commit

Permalink
Added rustls feature
Browse files Browse the repository at this point in the history
This change introduces the rustls to enable the usage of rustls for
encryption matters (instead of the system's native provider). Doing so
can offer advantages especially in cross-compilation environments, where
the need for non-Rust code compilation is reduced.
  • Loading branch information
carlosskii authored and d-e-s-o committed Jul 21, 2024
1 parent 7fe288c commit 9369893
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Unreleased
----------
- Added `rustls` feature to use `rustls` as the encryption provider
(instead of whatever is native to the system)

0.13.0
------
- Bumped `tokio-tungstenite` dependency to `0.23`
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ data.
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]

[features]
# Enable to use rusttls for cryptography over system's native variant.
rustls = ["tokio-tungstenite/__rustls-tls"]
test = ["tokio-tungstenite/connect"]

[dependencies]
Expand Down

0 comments on commit 9369893

Please sign in to comment.