Skip to content

chore(deps): update snafu requirement from ~0.8 to ~0.9#6

Merged
pigri merged 5 commits intomainfrom
dependabot/cargo/snafu-approx-0.9
Mar 12, 2026
Merged

chore(deps): update snafu requirement from ~0.8 to ~0.9#6
pigri merged 5 commits intomainfrom
dependabot/cargo/snafu-approx-0.9

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 12, 2026

Updates the requirements on snafu to permit the latest version.

Changelog

Sourced from snafu's changelog.

[0.9.0] - 2026-03-02

Added

  • WhateverLocal is an alternate to Whatever that does not implement or require Send or Sync.

  • Errors that do not use context selectors (e.g. opaque errors, #[snafu(context(false))] errors, or #[snafu(transparent)] errors) may now be constructed using a generic value when they are annotated with the #[snafu(source(from(generic)))] attribute.

  • When using the unstable-provider-api feature flag, Report will check if each error provides a Location. When it does, the Location will be appended to the error message.

Fixed

  • Opaque errors which use const generics with default values are now supported.

Changed

  • Rust 1.65 is now the minimum supported Rust version. This is a breaking change.

  • Rust 1.81 is now the default supported Rust version. This is a breaking change.

  • Whatever implements Send and Sync, allowing it to be sent between threads. This requires that wrapped errors also implement Send and Sync. This is a breaking change.

  • snafu::Location has been replaced with a type alias to the standard library's Location (specifically a reference to that type: &'static core::panic::Location<'static>). This improves interoperability and access to features. This is a breaking change.

  • Opaque errors default to allowing construction from any value that implements Into for the wrapped type. The previous behavior can be restored with #[snafu(source(from(exact)))]. This is a breaking change.

  • The internal implementation of #[snafu] attribute parsing has been rewritten. This should largely be unnoticeable, but some error messages and spans have been improved, and memory usage may be slightly reduced.

Removed

... (truncated)

Commits
  • 978f2cc Release 0.9.0
  • 9d45084 Merge pull request #552 from shepmaster/changelog
  • 7007572 Update the changelog and upgrading guide in preparation for 0.9
  • b02a904 Merge pull request #551 from shepmaster/reword-location-gotcha
  • b5f3f7f Gate future combinator doctests with internal-dev-dependencies
  • 409b798 Add assertions to Location's async doctests
  • c0e8e2f Clarify what we meant by "inaccurate" and be less negative
  • 4c4163b Merge pull request #549 from shepmaster/location-in-report
  • e06a103 Include Location in Report
  • 53ab073 Implement the fallback Error for references
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [snafu](https://github.com/shepmaster/snafu) to permit the latest version.
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](shepmaster/snafu@0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: snafu
  dependency-version: 0.9.0
  dependency-type: direct:production
...

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 Mar 12, 2026
@pigri
Copy link

pigri commented Mar 12, 2026

  • Updated the rand dependency from version 0.9 to 0.10 in Cargo.toml.
  • Added cargo fmt --check and cargo test -- --include-ignored steps to the GitHub Actions CI workflow.
  • Removed unnecessary blank lines in lib.rs, version1.rs, and version2.rs for cleaner code.

@pigri pigri merged commit 7a24748 into main Mar 12, 2026
2 checks passed
@pigri pigri deleted the dependabot/cargo/snafu-approx-0.9 branch March 12, 2026 19:52
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