Skip to content

Conversation

epage
Copy link
Contributor

@epage epage commented Jan 18, 2024

This switches the backend to anstream

This comes with an MSRV bump to 1.70. This allows us to use the latest anstream and avoid is-terminal.

BREAKING CHANGE: Formatter::style, Formatter::default_styled_level, Color, Style, and StyledValue were removed. Formatter::default_level_style was changed to return anstyle::Style.

Fixes #274
Fixes #276

@epage epage force-pushed the term branch 2 times, most recently from 2dc048f to ea46409 Compare January 18, 2024 20:02
@epage epage merged commit 2089053 into rust-cli:main Jan 19, 2024
@epage epage deleted the term branch January 19, 2024 16:52
epage added a commit to epage/env_logger that referenced this pull request Feb 13, 2024
The documentation for the old API was overlooked in rust-cli#298
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.

Replace is-terminal dep with std::io::IsTerminal WriteStyle is ignored when used with Target::Pipe

1 participant