borntyping / rust-simple_logger

A rust logger that prints all messages with a readable output format.
https://crates.io/crates/simple_logger
MIT License
220 stars 48 forks source link

replace dependency to atty for windows targets by std implementation #81

Closed ChrisCA closed 1 year ago

ChrisCA commented 1 year ago

I replaced the use of atty by the just introduced IsTerminal in std Rust.

The downside is, that this bumps MSRV to 1.70.0 but only for Windows targets which use the colored feature. But for people who do not need or want to use the colored feature of simple_logger, this would completely remove the dependency on atty which is not maintained any more as mentioned e.g. in #74

borntyping commented 1 year ago

Thanks! Released in https://github.com/borntyping/rust-simple_logger/releases/tag/v4.2.0.