From 04f623e2f6429dbc91058d28d552e8f86253dbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 2 Jun 2024 17:33:49 +0300 Subject: [PATCH 1/2] Update to tungstenite 0.23 and disable default features for some crates --- Cargo.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 21ede3e..d92df3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ futures-io = { version = "0.3", default-features = false, features = ["std"] } pin-project-lite = "0.2" [dependencies.tungstenite] -version = "0.21" +version = "0.23" default-features = false [dependencies.async-std] @@ -61,6 +61,8 @@ version = "0.10" optional = true version = "0.13" package = "async-tls" +default-features = false +features = ["client"] [dependencies.real-async-native-tls] optional = true @@ -76,6 +78,7 @@ package = "native-tls" optional = true version = "1.0" features = ["net"] +default-features = false [dependencies.real-tokio-native-tls] optional = true @@ -86,6 +89,7 @@ package = "tokio-native-tls" optional = true version = "0.26" package = "tokio-rustls" +default-features = false [dependencies.rustls-pki-types] optional = true @@ -118,6 +122,10 @@ hyper = { version = "1.0", default-features = false, features = ["http1", "serve hyper-util = { version = "0.1", features = ["tokio"] } http-body-util = "0.1" +[dev-dependencies.tungstenite] +version = "0.23" +features = ["url"] + [[example]] name = "autobahn-client" required-features = ["async-std-runtime"] From d9f39a2c8b1efdbfd56a01d9e42724ef3307a971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 2 Jun 2024 17:44:17 +0300 Subject: [PATCH 2/2] Release 0.26.0 --- CHANGELOG.md | 11 ++++++++++- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 595aa62..9b63c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.26.0] - 2024-06-02 +### Changed +- Update to tungstenite 0.23. +- Don't include default features for various dependencies. + ## [0.25.1] - 2024-04-03 ### Fixed - Fix tokio support for async-tls. @@ -181,7 +186,11 @@ No changelog is available for older versions as of yet. --> -[Unreleased]: https://github.com/sdroege/async-tungstenite/compare/0.23.0...HEAD +[Unreleased]: https://github.com/sdroege/async-tungstenite/compare/0.26.0...HEAD +[0.26.0]: https://github.com/sdroege/async-tungstenite/compare/0.26.0...0.25.1 +[0.25.1]: https://github.com/sdroege/async-tungstenite/compare/0.25.1...0.25.0 +[0.25.0]: https://github.com/sdroege/async-tungstenite/compare/0.25.0...0.24.0 +[0.24.0]: https://github.com/sdroege/async-tungstenite/compare/0.24.0...0.23.0 [0.23.0]: https://github.com/sdroege/async-tungstenite/compare/0.23.0...0.22.2 [0.22.2]: https://github.com/sdroege/async-tungstenite/compare/0.22.2...0.22.1 [0.22.1]: https://github.com/sdroege/async-tungstenite/compare/0.22.1...0.22.0 diff --git a/Cargo.toml b/Cargo.toml index d92df3a..4a0bb7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" homepage = "https://github.com/sdroege/async-tungstenite" repository = "https://github.com/sdroege/async-tungstenite" documentation = "https://docs.rs/async-tungstenite" -version = "0.25.1" +version = "0.26.0" edition = "2018" readme = "README.md" include = ["examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]