logo

Rust crates reviews

Cryptographically verifiable, distributed dependency reviews

crate: is-terminal

https://lib.rs/crates/is-terminal/

Add the last reviewed version to Cargo.toml / [dependencies]:

is-terminal = "0.4.1"

Filter reviews clicking on the numbers in the summary.

Full column names in tooltip hints: rating Negative, rating Neutral, rating Positive, rating Strong, thoroughness, understanding, reviews count.

Neg
Neu
Pos
Str
tho
und
rev
3
3
1
1
2
2
crate version
rating
date
reviewer
thoroughness, understanding
is-terminal 0.4.1
positive
2022-12-21
medium, medium

I'm not too familiar with the Windows stuff.

is-terminal 0.3.0
positive
2022-09-19
high, high

Following up my review of atty, this is the alternative that I'm recommending.
The crate is well-maintained and has the soundness problem from atty fixed.
The dependencies have been changed around a bit, with rustix replacing libc,
and windows-sys replacing win-api. This means that there's a bit less unsafe
code in the library here as well.

The API surface changed a bit as well, but I'd claim that the new API is more
sensible and allows usage on any file descriptor instead of just
stdin/stdout/stderr.

Finally, this has one additional dependency, io-lifetimes, by the same
author. I have not reviewed the implementation, but it's been merged into Rust
itself and stabilized with 1.63, so I am not worrying about it too much.

© bestia.dev 2023, MIT License, Version: 2023.608.1636

Open source repository for this web app: https://github.com/bestia-dev/cargo_crev_web/