Releases: slog-rs/term
Releases · slog-rs/term
Fix incorrect detection of local timezone
The time crate uses the Unix localtime_r call, which is not safe if multiple threads are running. To avoid undefined behavior, the time crate simply returns an error if multiple threads are running. To support localtime functionality when multiple threads are running, we use the chrono crate which parses /etc/localtime on Unix. This adds another dependency. In the future this could be mitigated by switching from time to chrono entirely.
This is not an issue on Windows systems.
Other changes:
- Respect the
NO_COLORenvironment variable https://no-color.org/ - Upgrade term from 0.7 to 1.0
Avoid buggy `atty` crate in favor of `is_terminal`
This fixes an important security vulnerability.
Changes
- Switch from
attytois_terminal- Avoids RUSTSEC-2021-0145
- Merges PR #47 - Thanks @rkd-msw
- Bump MSRV to 1.63