Skip to content
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

sc-tracing: swap atty with is-terminal #2718

Merged
merged 1 commit into from
Dec 14, 2023
Merged

sc-tracing: swap atty with is-terminal #2718

merged 1 commit into from
Dec 14, 2023

Conversation

pepyakin
Copy link
Contributor

atty is unmaintaned. See the advisory GHSA-g98v-hv3f-hcfr

I picked is-terminal because rustix is already in-tree, so doesn't increase the dependency footprint, and I am not sure if we can rely on IsTerminal from the std because I am not sure what our MSRV.

@pepyakin pepyakin requested a review from koute as a code owner December 14, 2023 19:34
@pepyakin pepyakin added the R0-silent Changes should not be mentioned in any release notes label Dec 14, 2023
`atty` is unmaintaned. is-terminal provides the same functionality.
The dependency tree is not affected because rustix is already in
the tree.

See the advisory for more details

GHSA-g98v-hv3f-hcfr
@bkchr bkchr merged commit c1a11b7 into master Dec 14, 2023
@bkchr bkchr deleted the pep-remove-atty branch December 14, 2023 21:42
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
`atty` is unmaintaned. See the advisory
GHSA-g98v-hv3f-hcfr

I picked is-terminal because rustix is already in-tree, so doesn't
increase the dependency footprint, and I am not sure if we can rely on
`IsTerminal` from the std because I am not sure what our MSRV.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants