Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and release 0.25.0 #130

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading