atty is no longer maintained
Deprecated. The source gives no day. Replacement: std::io::IsTerminal (stable since Rust 1.70), or the is-terminal crate for older compilers. Source: RustSec advisory RUSTSEC-2024-0375.
Check a version:
evergreen check pkg:cargo/atty
The maintainer of atty has published an official notice that the crate is no longer under development and that users should rely on the standard library’s IsTerminal trait.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Deprecated |
| Severity | medium |
| Ecosystem | rust |
| Component | pkg:cargo/atty |
| Affected versions | vers:cargo/* |
| Date from the source | The source gives no day |
| Replacement | std::io::IsTerminal (stable since Rust 1.70), or the is-terminal crate for older compilers |
| Evidence last seen | 2026-10-17 |
| Reviewed | 2026-10-17 by arminazimi |
| Review due | 2026-12-01 (45 days after the last review) |
| Rule ID | rust.crate.atty.unmaintained |
Sources
- RustSec advisory RUSTSEC-2024-0375 (accessed 2026-10-17)
Migration
Constraints
- Preserve how colored or interactive output is chosen when stdout or stderr is not a terminal.
Steps
- Use std::io::IsTerminal. Replace
atty::is(Stream::Stdout)withstd::io::stdout().is_terminal()(stable since Rust 1.70,use std::io::IsTerminal), or use the is-terminal crate on older compilers, and remove the atty dependency.
Verification
cargo build --all-targets && cargo test: Build and test after removing atty.
Detected by
The rust detector. See Detectors and Compatibility.
Related
Same ecosystem
- ansi_term is no longer maintained
- failure is no longer maintained
- tempdir is no longer maintained
- Rust 1.98 and older are no longer supported
Data
This page is generated from registry/rust.json, rule rust.crate.atty.unmaintained, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated