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

core::net is stable. This library is obsolete? #19

Open
faern opened this issue Feb 12, 2024 · 2 comments
Open

core::net is stable. This library is obsolete? #19

faern opened this issue Feb 12, 2024 · 2 comments

Comments

@faern
Copy link

faern commented Feb 12, 2024

The core::net module is heading for stabilization. It's currently stable in beta and will be stable in the next stable Rust release (1.77) unless it's reverted for some reason. That's good news, because it means custom crates like this one won't be needed any longer to get basic network primitives in no_std.

I'm not sure if there is any concrete action for this crate to take once the stabilization happens. Dynamic rustc version detection to determine if the crate should just act as a facade or not can be a bit iffy, and also does not come without a bunch of dependencies just for said detection.

There can probably be a readme update advising people to use core::net instead, if their MSRV allows it.

@faern faern changed the title core::net soon to be stable! core::net is stable. This library is obsolete? Apr 23, 2024
@faern
Copy link
Author

faern commented Apr 23, 2024

core::net is now stable.

@robertbastian
Copy link

robertbastian commented Jul 22, 2024

core::net does not contain ToSocketAddrs.

It would be nice if this crate could reexport the core types, so that other crates that are using this one automatically get updated to core types (of course after an acceptable MSRV period).

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

No branches or pull requests

2 participants