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

RUSTSEC-2021-0139: ansi_term is Unmaintained #2282

Closed
github-actions bot opened this issue Aug 20, 2022 · 7 comments
Closed

RUSTSEC-2021-0139: ansi_term is Unmaintained #2282

github-actions bot opened this issue Aug 20, 2022 · 7 comments

Comments

@github-actions
Copy link

ansi_term is Unmaintained

Details
Status unmaintained
Package ansi_term
Version 0.12.1
URL ogham/rust-ansi-term#72
Date 2021-08-18

The maintainer has adviced this crate is deprecated and will not
receive any maintenance.

The crate does not seem to have much dependencies and may or may not be ok to use as-is.

Last release seems to have been three years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

See advisory page for additional details.

@djc
Copy link
Contributor

djc commented Aug 22, 2022

(The advisory has since added the console crate as another alternative, which seems like a potentially decent option?)

@jplatte
Copy link
Member

jplatte commented Aug 22, 2022

There's already a PR to switch to nu-ansi-term at #2040.

nhurley3 added a commit to nhurley3/trust-dns that referenced this issue Aug 23, 2022
bluejekyll pushed a commit to hickory-dns/hickory-dns that referenced this issue Aug 24, 2022
blt added a commit to DataDog/lading that referenced this issue Sep 8, 2022
We're currently being dinged by the above RUSTSEC, REF
tokio-rs/tracing#2282. It looks like tracing will
update itself soon but meanwhile `ansi_term` being unmaintained is not a
terrible problem for lading.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
blt added a commit to DataDog/lading that referenced this issue Sep 8, 2022
We're currently being dinged by the above RUSTSEC, REF
tokio-rs/tracing#2282. It looks like tracing will
update itself soon but meanwhile `ansi_term` being unmaintained is not a
terrible problem for lading.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
@leontoeides
Copy link

Just a note that Windows does not have ANSI support by default and locked-down computers (i.e. in a corporate environment) won't be able to install it. Plus it garbles output if redirected into a file. Practically, I would say that tracing does not currently support colour in Windows.

owo-colors and termcolor don't seem to have this problem.

@ozgunozerk
Copy link
Contributor

Any news on this one?

@siketyan
Copy link

siketyan commented Oct 6, 2022

The fix #2287 seems already merged, but no release since the merge.
Waiting for the next release of tracing-subscriber.

@hawkw
Copy link
Member

hawkw commented Oct 6, 2022

Should be published soon, sorry for the delay!

@hawkw
Copy link
Member

hawkw commented Oct 6, 2022

Published tracing-subscriber v0.3.16, which now depends on nu-ansi-term.

@hawkw hawkw closed this as completed Oct 6, 2022
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

No branches or pull requests

6 participants