Docs.rs: RUSTSEC-2020-0016: `net2` crate has been deprecated; use `socket2` instead

Created on 18 May 2020  路  2Comments  路  Source: rust-lang/docs.rs

net2 crate has been deprecated; use socket2 instead

| Details | |
| ------------------- | ---------------------------------------------- |
| Status | unmaintained |
| Package | net2 |
| Version | 0.2.34 |
| URL | https://github.com/deprecrated/net2-rs/commit/3350e3819adf151709047e93f25583a5df681091 |
| Date | 2020-05-01 |

The net2 crate has been deprecated
and users are encouraged to considered socket2 instead.

See advisory page for additional details.

S-blocked

Most helpful comment

mio v0.7 has moved net2 to be just a dev-dependency, presumably this will be included with tokio v0.3 which is currently ~2 months past its expected release.

All 2 comments

This is coming in from hyper (https://github.com/hyperium/hyper/issues/2205) and mio (no upstream issue yet).

mio v0.7 has moved net2 to be just a dev-dependency, presumably this will be included with tokio v0.3 which is currently ~2 months past its expected release.

Was this page helpful?
0 / 5 - 0 ratings