Skip to content
New issue

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

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

Already on GitHub? # to your account

Replace usage of the atty crate with std::io::IsTerminal trait #1465

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

nickelc
Copy link
Contributor

@nickelc nickelc commented Jul 8, 2023

NOTE: delta will require Rust 1.70 (Release 2023-06-01) with the changes.

Rust 1.70 stabilized the IsTerminal trait and the newest version of grep-cli crate depending on it, makes it possible to remove the unmaintained atty crate from the build.

Crate:     atty
Version:   0.2.14
Warning:   unsound
Title:     Potential unaligned read
Date:      2021-07-04
ID:        RUSTSEC-2021-0145
URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145

Rust 1.70 stabilized the `IsTerminal` trait and the newest version of
`grep-cli` crate depending on it, makes it possible to remove the
unmaintained `atty` crate from the build.

```
Crate:     atty
Version:   0.2.14
Warning:   unsound
Title:     Potential unaligned read
Date:      2021-07-04
ID:        RUSTSEC-2021-0145
URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145
```
@dandavison
Copy link
Owner

dandavison commented Jul 8, 2023

Thanks @nickelc, LGTM. All the CI builds passed; can you think of anything related to release that might have a problem with the requirement for a recent Rust version?

@nickelc
Copy link
Contributor Author

nickelc commented Jul 8, 2023

I can only think of some distributions that don't provide the latest rust version yet.

@dandavison dandavison merged commit 915662f into dandavison:master Jul 8, 2023
@dandavison
Copy link
Owner

Right, thanks again.

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

Successfully merging this pull request may close these issues.

2 participants