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 to Mio v1 #6635

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Update to Mio v1 #6635

wants to merge 2 commits into from

Conversation

Thomasdezeeuw
Copy link
Contributor

@Thomasdezeeuw Thomasdezeeuw commented Jun 14, 2024

Bumps the MSRV to 1.70.

One breaking changes is the removal of mio::net::SocketAddr, replacing it with std::os::unix::net::SocketAddr. The methods on the type should be the same.

For some smaller OS, such as ESP-IDF and Hermit, it can now be compiled without RUSTFLAGS.

@Darksonn
Copy link
Contributor

Are you able to add a test for tokio-rs/mio#1749 (review) not being breaking in Tokio? I think we may not have a test for this case.

@Thomasdezeeuw
Copy link
Contributor Author

Are you able to add a test for tokio-rs/mio#1749 (review) not being breaking in Tokio? I think we may not have a test for this case.

It seems like Tokio also has it's own version of SocketAddr, hence the only code change.

What are you looking for in a test for this?

@Darksonn
Copy link
Contributor

E.g., calling UnixListener::bind with an abstract namespace.

Release 1 June 2023.
Bumps the MSRV to 1.70.

One breaking changes is the removal of mio::net::SocketAddr, replacing
it with std::os::unix::net::SocketAddr. The methods on the type should
be the same.

For some smaller OS, such as ESP-IDF and Hermit, it can now be compiled
without RUSTFLAGS.
@Thomasdezeeuw
Copy link
Contributor Author

E.g., calling UnixListener::bind with an abstract namespace.

Doesn't seem like UnixListener::bind supports abstract name spaces.

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.

None yet

2 participants