From 1833f3d415ca3881544276ea846f40fe5fafc5c5 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Thu, 8 Feb 2024 17:50:48 +0100 Subject: [PATCH] Release 0.7.0 --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- src/lib.rs | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c7fe1a..0ffc198 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# Version 0.7.0 + +- **Breaking:** `Recv` and `Send` are now `!Unpin` to allow for future optimizations. +- Port to event-listener v5.0. + # Version 0.6.0 - Bump to event-listener v3.0.0. diff --git a/Cargo.toml b/Cargo.toml index be64235..83207aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-broadcast" -version = "0.6.0" +version = "0.7.0" license = "MIT OR Apache-2.0" repository = "https://github.com/smol-rs/async-broadcast" documentation = "https://docs.rs/async-broadcast" diff --git a/src/lib.rs b/src/lib.rs index 7450b76..d6c9d2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -697,7 +697,7 @@ impl Sender { sender: self, listener: None, msg: Some(msg), - _pin: PhantomPinned + _pin: PhantomPinned, }) } @@ -1188,7 +1188,7 @@ impl Receiver { Recv::_new(RecvInner { receiver: self, listener: None, - _pin: PhantomPinned + _pin: PhantomPinned, }) }