orhun / rustypaste-cli

A CLI tool for rustypaste
https://github.com/orhun/rustypaste
MIT License
56 stars 8 forks source link

refactor(cli): use IsTerminal from stdlib #55

Closed tessus closed 1 year ago

tessus commented 1 year ago

As of Rust 1.70, most users should use the IsTerminal trait in the Rust standard library instead of the is-terminal crate.

This change removes the crate and uses the stdlib now. I've tested the change manually.

Follow-up to #28 (see https://github.com/orhun/rustypaste-cli/pull/28#issuecomment-1627475564)