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

Port to event-listener v5.0 #48

Merged
merged 4 commits into from
Feb 8, 2024
Merged

Port to event-listener v5.0 #48

merged 4 commits into from
Feb 8, 2024

Conversation

notgull
Copy link
Member

@notgull notgull commented Dec 29, 2023

Also Make Send and Recv !Unpin to allow for future optimizations (API break).

cc smol-rs/event-listener#105

@notgull notgull requested a review from zeenix January 6, 2024 18:59
Copy link
Member

@zeenix zeenix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@zeenix
Copy link
Member

zeenix commented Feb 5, 2024

@notgull some unanswered questions here before we could merge this.

@zeenix
Copy link
Member

zeenix commented Feb 5, 2024

Oh and it needs a rebase.

@notgull notgull marked this pull request as ready for review February 7, 2024 03:21
Signed-off-by: John Nunley <[email protected]>
@notgull notgull requested a review from zeenix February 7, 2024 03:24
@zeenix
Copy link
Member

zeenix commented Feb 7, 2024

All good. Only thing is that if async-channels's Sender/Receiver are turning !Unpin, so should the Sender/Receiver here, to keep a consistent behavior across smol?

@notgull
Copy link
Member Author

notgull commented Feb 7, 2024

Sure, if you're fine with the API break.

@zeenix
Copy link
Member

zeenix commented Feb 7, 2024

Sure, if you're fine with the API break.

Sure, assuming there is a good chance the performance benefits that async-channel is expected to gain from this change, will also apply here.

@zeenix zeenix merged commit ab8a1eb into master Feb 8, 2024
6 checks passed
@zeenix zeenix deleted the notgull/evl5 branch February 8, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants