Skip to content

Commit

Permalink
Update dependencies and release 0.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Feb 9, 2024
1 parent 30a1f78 commit 855a9b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions examples/gio-echo-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -43,7 +43,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
SocketProtocol::Tcp,
glib::Object::NONE,
)?;
println!("Listening on: {}", inetaddr);
println!("Listening on: {}", inetaddr.to_string());

service.connect_incoming(|_service, connection, _| {
let stream = connection.clone();
Expand Down

0 comments on commit 855a9b1

Please sign in to comment.