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

Prep release 0.7.2 #72

Merged
merged 2 commits into from
Dec 23, 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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Version 0.7.2

- Add `Sender::broadcast_blocking` and `Receiver::recv_blocking`. #41
- Use `Mutex` instead of `RwLock` for securing the inner data. #42
- Many non-user-facing internal improvements and fixes.

# Version 0.7.1

- Add a `poll_recv()` method to the `Receiver` type. This allows for `Receiver`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "async-broadcast"
version = "0.7.1"
version = "0.7.2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/smol-rs/async-broadcast"
documentation = "https://docs.rs/async-broadcast"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ pin_project! {
}
}

impl<'a, T: Clone> EventListenerFuture for SendInner<'a, T> {
impl<T: Clone> EventListenerFuture for SendInner<'_, T> {
type Output = Result<Option<T>, SendError<T>>;

fn poll_with_strategy<'x, S: event_listener_strategy::Strategy<'x>>(
Expand Down Expand Up @@ -1807,7 +1807,7 @@ pin_project! {
}
}

impl<'a, T: Clone> EventListenerFuture for RecvInner<'a, T> {
impl<T: Clone> EventListenerFuture for RecvInner<'_, T> {
type Output = Result<T, RecvError>;

fn poll_with_strategy<'x, S: event_listener_strategy::Strategy<'x>>(
Expand Down
Loading