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

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

Closed
github-actions bot opened this issue Dec 22, 2020 · 2 comments
Closed

Comments

@github-actions
Copy link

net2 crate has been deprecated; use socket2 instead

Details
Status unmaintained
Package net2
Version 0.2.37
URL deprecrated/net2-rs@3350e38
Date 2020-05-01

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

See advisory page for additional details.

@ssalonen
Copy link
Owner

ssalonen commented Dec 22, 2020

net2 comes from old tokio that is still used by hyper :

$ cargo tree --invert -p net2                                                                                                                                 master ✭ ✱
net2 v0.2.37
└── mio v0.6.23
    └── tokio v0.2.24
        ├── h2 v0.2.7
        │   └── hyper v0.13.9
        │       ├── hyper-tls v0.4.3
        │       │   └── webcam-proxy v0.1.2 (/home/salski/src/webcam-proxy)
        │       └── webcam-proxy v0.1.2 (/home/salski/src/webcam-proxy)
        ├── hyper v0.13.9 (*)
        ├── hyper-tls v0.4.3 (*)
        ├── tokio-compat-02 v0.1.2
        │   └── webcam-proxy v0.1.2 (/home/salski/src/webcam-proxy)
        ├── tokio-tls v0.3.1
        │   └── hyper-tls v0.4.3 (*)
        └── tokio-util v0.3.1
            └── h2 v0.2.7 (*)

Hyper 0.14 should land with the tokio 0.3: hyperium/hyper#2302

At the same time we can drop the tokio-compat-02.

@ssalonen
Copy link
Owner

ssalonen commented May 1, 2021

See dd4468f. No longer depending on net2

@ssalonen ssalonen closed this as completed May 1, 2021
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

1 participant