Skip to content

RUSTSEC-2020-0016: net2: net2 crate has been deprecated; use socket2 instead #1367

@SteveBattista

Description

@SteveBattista

https://rustsec.org/advisories/RUSTSEC-2020-0016.html states this.

I found this with cargo audit
https://github.com/RustSec/cargo-audit

It looks like it is in your test rig:
tests/tcp.rs
Line 6 : use net2::TcpStreamExt;
Line 476 let client = net2::TcpBuilder::new_v4().unwrap().to_tcp_stream().unwrap();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions