Skip to content

chore(deps): bump snafu from 0.8.9 to 0.9.0#30

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/snafu-0.9.0
Open

chore(deps): bump snafu from 0.8.9 to 0.9.0#30
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/snafu-0.9.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps snafu from 0.8.9 to 0.9.0.

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 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 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 [snafu](https://github.com/shepmaster/snafu) from 0.8.9 to 0.9.0.
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](shepmaster/snafu@0.8.9...0.9.0)

---
updated-dependencies:
- dependency-name: snafu
  dependency-version: 0.9.0
  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 Mar 5, 2026
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