Skip to content

Commit

Permalink
⬆️ zb: update async-fs to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Oct 18, 2023
1 parent c6bc96b commit f58cac3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zbus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sha1 = { version = "0.10.5", features = ["std"] }
event-listener = "3.0.0"
static_assertions = "1.1.0"
async-trait = "0.1.58"
async-fs = { version = "1.6.0", optional = true }
async-fs = { version = "2.0.0", optional = true }
# FIXME: We should only enable process feature for Mac OS. See comment on async-process below for why we can't.
tokio = { version = "1.21.2", optional = true, features = [
"rt",
Expand Down
2 changes: 1 addition & 1 deletion zbus/src/connection/socket_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl SocketReader {
}
}

if let Err(e) = sender.broadcast(msg.clone()).await {
if let Err(e) = sender.broadcast_direct(msg.clone()).await {
// An error would be due to either of these:
//
// 1. the channel is closed.
Expand Down

0 comments on commit f58cac3

Please sign in to comment.