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

update polling to 3.x #279

Conversation

Fabian-Gruenbichler
Copy link

didn't do any in-depth tests and don't know this code base all to well, so please don't hesitate to do things differently as you see fit.

Debian has recently upgrade to polling 3.x, and this is one of the few packaged crates still using the 2.x release series..

Signed-off-by: Fabian Grünbichler <[email protected]>
&zc.signal_sock,
polling::Event::readable(SIGNAL_SOCK_EVENT_KEY),
) {
#[allow(unsafe_code)]
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks for your PR! I want to keep this library safe code only, unless we really have to break it.

Let me take a look at our options.

@keepsimple1
Copy link
Owner

As I wanted to keep this lib safe code only, and polling 3.x does not provide a safe API (add is unsafe), I'm trying to move away from polling and use mio instead (see PR #280 ).

Could you please confirm if mio 1.0 is allowed / packaged in Debian? Thanks!

@Fabian-Gruenbichler
Copy link
Author

it is (in unstable/testing, which will become trixie/stable next year :))

https://tracker.debian.org/pkg/rust-mio

@keepsimple1
Copy link
Owner

Thanks for confirming. I've merged PR #280, which replaced this PR. Will close this PR now. If any related questions, please feel free to open a new issue or PR. Thanks!

@keepsimple1 keepsimple1 closed this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants