Skip to content

Bump spdlog-rs from 0.4.1 to 0.5.1#133

Open
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/cargo/dev/spdlog-rs-0.5.1
Open

Bump spdlog-rs from 0.4.1 to 0.5.1#133
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/cargo/dev/spdlog-rs-0.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2025

Bumps spdlog-rs from 0.4.1 to 0.5.1.

Release notes

Sourced from spdlog-rs's releases.

v0.5.1

Changes

  • Bound Error::Downstream implements Send + Sync.

v0.5.0

Highlights / New Features

  • Structured logging supports. (issue #70, PR #77)
  • A new named optional parameter kv is accepted in logging macros for recording with structured key-value pairs.
    info!("program started", kv: { pid = std::process::id() });
  • A new pattern placeholder {kv} is added to pattern macros for writing out structured key-value pairs.
    pattern!("{datetime} {^{level}} {payload} {{ {kv} }}{eol}")
  • Access key-value pairs in records via a new method Record::key_values.
  • The named optional parameters in logging macros are allowed to be placed in arbitrary order.
    info!(logger: my_app, kv: { a = 1 }, "1 + a = {}", 2); // OK
    info!(logger: my_app, "1 + a = {}", 2, kv: { a = 1 }); // OK
    info!("1 + a = {}", 2, logger: my_app, kv: { a = 1 }); // OK
    info!(kv: { a = 1 }, "1 + a = {}", 2, logger: my_app); // OK
    info!(logger: my_app, "1 + a = {}", kv: { a = 1 }, 2); // Error
  • MSRV (minimum supported Rust version) is bumped to v1.66.1.
  • A new sink AndroidSink allows writing out logs to Android NDK log framework. (issue #96, PR #97)
  • JournaldSink passes an additional TID field to journald.
  • Allow configuring the capacity of BufWriter for file sinks via new methods {FileSinkBuilder,RotatingFileSinkBuilder}::capacity.
  • Allow passing a runtime level value to log! macro.
  • Use a semantically non-zero type for ThreadPoolBuilder, InvalidArgumentError::ThreadPoolCapacity is marked as deprecated. (thanks @​tisonkun, #94).
  • Some implicit dependencies are no longer exposed as public enabled feature gates.
  • Replace spin locks with std locks (#92).
  • Add an error variant Downstream(Box<dyn std::error::Error> for downstream crates.
  • Mark swap_default_logger function as #[must_use].
  • Fix runtime_pattern! macro requiring explicit spdlog-internal dependency.
  • Benchmarking code is excluded from crates.io releases to reduce package size.
  • Fix typo in documentation. (thanks @​felixonmars, #100)

Migrating from v0.4

v0.5 made some breaking changes for better interaction of downstream crates with spdlog-rs.

  • Methods Sink::{level_filter,set_level_filter,set_formatter,set_error_handler} are moved to a new trait SinkPropAccess, and trait Sink inherits it. (issue #71, PR #93) If you are implementing your own sink, you may want to define a field with type SinkProp within your sink and then implement the new trait GetSinkProp for your sink. This will make your sink automatically get trait SinkPropAccess implemented.
  • For methods {set_,}formatter in Logger and sink builders, an Into<Foramtter> is now accepted instead of a Box<dyn Formatter>.
  • ErrorHandler is no longer used with Option, to represent an empty ErrorHandler, use ErrorHandler::default(). This allows downstream crates to be able to call the internal default error handler. (#86)
  • ThreadPoolBuilder::capacity now accepts a NonZeroUsize instead of a usize.

... (truncated)

Commits
  • eda51be Publish v0.5.1
  • 8b75878 Bound Error::Downstream implements Send + Sync
  • 309fc7c Publish v0.5.0
  • 40b8194 Exclude benches directory from cargo publishing
  • 5a6c51f Generate SVG for benchmarking results and display in README
  • 5cd74de Fix a typo in LoggerBuilder::flush_level_filter doc comment
  • 4b53213 Fix runtime_pattern! requiring explicit spdlog-internal dependency
  • d346813 Update benchmark results
  • a13252d CI add a native test for WinDebugSink on Windows
  • 674bf72 JournaldSink pass journal field TID
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [spdlog-rs](https://github.com/SpriteOvO/spdlog-rs) from 0.4.1 to 0.5.1.
- [Release notes](https://github.com/SpriteOvO/spdlog-rs/releases)
- [Commits](SpriteOvO/spdlog-rs@v0.4.1...v0.5.1)

---
updated-dependencies:
- dependency-name: spdlog-rs
  dependency-version: 0.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 20, 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.

0 participants