rust core::net ripped into a library so you can use unstable features on stable
Find a file
2024-02-14 07:48:15 +13:00
src Modified for standalone 2023-03-08 16:53:21 +13:00
.gitignore Rip from rust core::net 2023-03-08 16:35:17 +13:00
Cargo.toml Add Cargo.toml fields 2023-03-12 11:49:05 +13:00
README.md README notes about unsafety and going away 2024-02-14 07:48:15 +13:00

core-net

THIS CRATE IS GOING AWAY SOON: as of rust 1.77 core-net should be stabilized so hacks like this won't be necessary anymore.

This is a rip of core::net from the Rust language, with stability features removed so you can use the unstable features on the stable compiler.

It was ripped frop this commit 38b96553112dce3de630890701f17d86e265f6ba and may not be up to date.

THIS IS NOT FUTURE SAFE: In order to use these features, you could std::mem::transmute the types from the actual core library into these types and back. But if rust std changes, serious errors could occur!