mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-14 22:15:54 +02:00
cargo: bump the patch group with 1 update (#1703)
Bumps the patch group with 1 update: [tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets). Updates `tokio-websockets` from 0.5.0 to 0.5.1 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dustin J. Mitchell <djmitche@google.com>
This commit is contained in:
parent
e785962ca4
commit
3b17afd042
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2450,9 +2450,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tokio-websockets"
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6b069bad86dda43d908b4221fe04fe49d2ed8e0a24d319a5c6a8d250e76fe15b"
|
||||
checksum = "ff33c0fd7b2d320bd03e7aaad77b04214b375ce66c8a8fcc1a77aa65a471d07d"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"bytes",
|
||||
|
@ -7,4 +7,4 @@ edition = "2021"
|
||||
futures-util = { version = "0.3.30", features = ["sink"] }
|
||||
http = "1.0.0"
|
||||
tokio = { version = "1.28.1", features = ["full"] }
|
||||
tokio-websockets = { version = "0.5.0", features = ["client", "fastrand", "server", "sha1_smol"] }
|
||||
tokio-websockets = { version = "0.5.1", features = ["client", "fastrand", "server", "sha1_smol"] }
|
||||
|
@ -31,7 +31,9 @@ async fn handle_connection(
|
||||
) -> Result<(), Box<dyn Error + Send + Sync>> {
|
||||
// ANCHOR_END: handle_connection
|
||||
|
||||
ws_stream.send(Message::text("Welcome to chat! Type a message".into())).await?;
|
||||
ws_stream
|
||||
.send(Message::text("Welcome to chat! Type a message".to_string()))
|
||||
.await?;
|
||||
let mut bcast_rx = bcast_tx.subscribe();
|
||||
|
||||
// A continuous loop for concurrently performing two tasks: (1) receiving
|
||||
|
Loading…
Reference in New Issue
Block a user