Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2025

Bumps slog-term from 2.9.1 to 2.9.2.

Release notes

Sourced from slog-term's releases.

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:

Changelog

Sourced from slog-term's changelog.

2.9.2 - 2025-08-20

Fixed

  • Avoid thread-safety issues with localtime_r function by using chrono to detect local time.
    • Unfortunately this adds another dependency. In the future I plan to avoid this by switching from time to chrono entirely.
  • Upgrade to term v1.0. Fixes slog#267

Changed

  • Respect the NO_COLOR environment variable.
Commits
  • a6b6e7b Bump version to 2.9.2
  • a6f335d Respect the NO_COLOR environment variable
  • e1e0c24 Upgrade to term v1.0
  • 835561b Use chrono to detect local timezone thread-safely
  • 8eb6e56 ci: Fail on clippy warnings
  • 88aca95 ci: Only pin time version on MSRV
  • 1ae33b5 ci: Cache crates.io index
  • 6c3d09a ci: Use dtolnay/rust-toolchain instead of actions-rs
  • 2318b4e ci: Use crates-ci/typos to check for spelling errors
  • 49d2758 Fix clippy lints
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [slog-term](https://github.com/slog-rs/term) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/slog-rs/term/releases)
- [Changelog](https://github.com/slog-rs/term/blob/master/CHANGELOG.md)
- [Commits](slog-rs/term@v2.9.1...v2.9.2)

---
updated-dependencies:
- dependency-name: slog-term
  dependency-version: 2.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant