pingora icon indicating copy to clipboard operation
pingora copied to clipboard

RUSTSEC-2024-0375: `atty` is unmaintained

Open github-actions[bot] opened this issue 1 year ago • 2 comments

atty is unmaintained

Details
Status unmaintained
Package atty
Version 0.2.14
URL https://github.com/softprops/atty/issues/57
Date 2024-09-25

The maintainer of atty has published an official notice that the crate is no longer under development, and that users should instead rely on the functionality in the standard library's IsTerminal trait.

Alternative(s)

  • std::io::IsTerminal - Stable since Rust 1.70.0 and the recommended replacement per the atty maintainer.
  • is-terminal - Standalone crate supporting Rust older than 1.70.0

See advisory page for additional details.

github-actions[bot] avatar Nov 01 '24 02:11 github-actions[bot]

Right. clap should really be bumped to v4. But then MSRV would need to be 1.74.

Congyuwang avatar Nov 01 '24 02:11 Congyuwang

Clap 4.0.0 shipped 3 years ago with an MSRV of 1.60, is it possible to use an older version of clap v4?

https://github.com/clap-rs/clap/blob/3a74d8237634979275d364c48228371e50bf8407/Cargo.toml#L26

(We have this same security alert in some internal software which depends on pingora due to the indirect dependency on atty via clap v3.)

davidhewitt avatar Jan 09 '25 15:01 davidhewitt