Skip to content

Commit

Permalink
a note on preferring std lib equiv
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jul 18, 2024
1 parent 6633c0e commit 5bfdbe9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# atty

> [!WARNING]
> This is crate is no longer maintained and users are encouraged to prefer
> the equivalant functionality of [std.io.IsTerminal](https://doc.rust-lang.org/std/io/trait.IsTerminal.html), introduced in [Rust 1.70.0](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html#isterminal)
>
> Thank you for your support!
[![Build Status](https://travis-ci.org/softprops/atty.svg?branch=master)](https://travis-ci.org/softprops/atty) [![Build status](https://ci.appveyor.com/api/projects/status/geggrsnsjsuse8cv?svg=true)](https://ci.appveyor.com/project/softprops/atty) [![Coverage Status](https://coveralls.io/repos/softprops/atty/badge.svg?branch=master&service=github)](https://coveralls.io/github/softprops/atty?branch=master) [![crates.io](https://img.shields.io/crates/v/atty.svg)](https://crates.io/crates/atty) [![Released API docs](https://docs.rs/atty/badge.svg)](http://docs.rs/atty) [![Master API docs](https://img.shields.io/badge/docs-master-green.svg)](https://softprops.github.io/atty)

> are you or are you not a tty?

## install

Add the following to your `Cargo.toml`
Expand Down Expand Up @@ -32,7 +37,6 @@ fn main() {

This library has been unit tested on both unix and windows platforms (via appveyor).


A simple example program is provided in this repo to test various tty's. By default.

It prints
Expand Down

0 comments on commit 5bfdbe9

Please sign in to comment.