Closed jcgruenhage closed 1 year ago
atty is unmaintained and has a potential unaligned read. See https://github.com/rustsec/advisory-db/blob/main/crates/atty/RUSTSEC-2021-0145.md.
atty
is-terminal is a replacement based on atty, with the soundness issue fixed and an (IMO) nicer to use API, mirroring what's available in the std lib on nightly with std::io::IsTerminal.
is-terminal
std::io::IsTerminal
This is a breaking change and is being superseded by #248
atty
is unmaintained and has a potential unaligned read. See https://github.com/rustsec/advisory-db/blob/main/crates/atty/RUSTSEC-2021-0145.md.is-terminal
is a replacement based onatty
, with the soundness issue fixed and an (IMO) nicer to use API, mirroring what's available in the std lib on nightly withstd::io::IsTerminal
.