diff --git a/CHANGELOG.md b/CHANGELOG.md index f8f2e99..89abc25 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.25.0] - 2024-02-09 +### Changed +- Update to glib/gio 0.19. +- Update to async-tls 0.13. + ## [0.24.0] - 2023-12-08 ### Changed - Update MSRV from 1.70 to 1.61. diff --git a/Cargo.toml b/Cargo.toml index 0b4d0f8..0c0b2bc 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.24.0" +version = "0.25.0" edition = "2018" readme = "README.md" include = ["examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md"] @@ -59,7 +59,7 @@ version = "0.10" [dependencies.real-async-tls] optional = true -version = "0.12" +version = "0.13" package = "async-tls" [dependencies.real-async-native-tls] @@ -101,11 +101,11 @@ version = "0.26" [dependencies.gio] optional = true -version = "0.18" +version = "0.19" [dependencies.glib] optional = true -version = "0.18" +version = "0.19" [dev-dependencies] futures = "0.3" diff --git a/examples/gio-echo-server.rs b/examples/gio-echo-server.rs index 1224f2b..bbef8e1 100644 --- a/examples/gio-echo-server.rs +++ b/examples/gio-echo-server.rs @@ -12,7 +12,7 @@ async fn accept_connection(stream: SocketConnection) -> Result<()> { .remote_address() .expect("SocketConnection should have a remote address"); - println!("Peer address: {}", addr); + println!("Peer address: {}", addr.to_string()); let mut ws_stream = accept_async(stream) .await .expect("Error during the websocket handshake occurred"); @@ -43,7 +43,7 @@ fn main() -> Result<(), Box> { SocketProtocol::Tcp, glib::Object::NONE, )?; - println!("Listening on: {}", inetaddr); + println!("Listening on: {}", inetaddr.to_string()); service.connect_incoming(|_service, connection, _| { let stream = connection.clone();