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