Skip to content

Drop unmaintained atty dep and replace with standard library calls #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

decathorpe
Copy link

The atty crate is officially unmaintained: https://rustsec.org/advisories/RUSTSEC-2024-0375.html - additionally, the functionality it provides (checking if a file descriptor is connected to a TTY) has been available in the Rust standard library since version 1.70.

This PR drops the atty dependency and switches to the IsTerminal implementation from the standard library.

@decathorpe
Copy link
Author

Oops, I didn't see that there was already #30 filed previously, sorry about the duplicate. Feel free to close this one.

@sergio-correia
Copy link
Contributor

Oops, I didn't see that there was already #30 filed previously, sorry about the duplicate. Feel free to close this one.

Yep, now we need @nullr0ute to merge one of them :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants