-
Notifications
You must be signed in to change notification settings - Fork 734
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
Migrate to anstream for colors #782
Labels
internal
A refactor or improvement that is not user-facing
Comments
I think anstream itself doesn't do colors, it does the println / writeable stream, and it integrates with styling crates like |
I would check to see what Cargo is using for colors these days. |
anstream and color-print rust-lang/cargo#12751 |
Looks like |
charliermarsh
added
the
internal
A refactor or improvement that is not user-facing
label
Jan 7, 2024
charliermarsh
added a commit
that referenced
this issue
Jan 7, 2024
## Summary We can use `anstream` for all color control, rather than going through `colored`. Note that we still need the `colored` crate, since `colored` and `anstream` solve different problems. (`anstream` recommends using `owo-colors` alongside it, but `colored` seems to work fine?) Resolves the issue raised in #742 via `anstream` rather than `colored`. Closes #782.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Followup to #742.
The text was updated successfully, but these errors were encountered: