Skip to content

Remove indirect dependency on net2 #2327

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

Closed
dv-ds opened this issue Nov 12, 2020 · 4 comments
Closed

Remove indirect dependency on net2 #2327

dv-ds opened this issue Nov 12, 2020 · 4 comments

Comments

@dv-ds
Copy link

dv-ds commented Nov 12, 2020

With the following setup in Cargo.toml, there is an indirect dependency on net2, which is deprecated as per: https://rustsec.org/advisories/RUSTSEC-2020-0016

[dependencies]
hyper = "0.13.9"

More information:

$ cargo audit
    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 146 security advisories (from [...]/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (58 crate dependencies)
Crate:         net2
Version:       0.2.35
Warning:       unmaintained
Title:         `net2` crate has been deprecated; use `socket2` instead
Date:          2020-05-01
ID:            RUSTSEC-2020-0016
URL:           https://rustsec.org/advisories/RUSTSEC-2020-0016
Dependency tree: 
net2 0.2.35
├── miow 0.2.1
│   └── mio 0.6.22
│       └── tokio 0.2.22
│           ├── tokio-util 0.3.1
│           │   └── h2 0.2.7
│           │       └── hyper 0.13.9
│           ├── hyper 0.13.9
│           └── h2 0.2.7
└── mio 0.6.22

warning: 1 allowed warning found
@taiki-e
Copy link
Contributor

taiki-e commented Nov 12, 2020

This is fixed by #2319

@dv-ds
Copy link
Author

dv-ds commented Nov 12, 2020

Aha, excellent. Approximately when can a new crate version be expected to be published?

@taiki-e
Copy link
Contributor

taiki-e commented Nov 12, 2020

Approximately when can a new crate version be expected to be published?

I don't know, but #2319 is part of the 0.14 milestone and that milestone still has many open issues.

@dv-ds
Copy link
Author

dv-ds commented Nov 12, 2020

Noted, thank you for the quick response.

@dv-ds dv-ds closed this as completed Nov 12, 2020
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