Skip to content

Update Rust crate snafu to 0.9.0#845

Merged
renovate[bot] merged 1 commit intomasterfrom
renovate/snafu-0.x
Mar 8, 2026
Merged

Update Rust crate snafu to 0.9.0#845
renovate[bot] merged 1 commit intomasterfrom
renovate/snafu-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2026

This PR contains the following updates:

Package Type Update Change
snafu dependencies minor 0.8.20.9.0

Release Notes

shepmaster/snafu (snafu)

v0.9.0

Compare Source

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
  • The deprecated Error::description and Error::cause methods are
    no longer generated.

  • The rust_1_61, rust_1_65, and unstable-core-error feature
    flags have been removed.

  • When using the unstable-provider-api feature flag, the source
    error is no longer provided by default. This impacts regular and
    opaque errors, as well as Whatever and WhateverLocal.

  • When using the unstable-provider-api feature flag, provided values
    may no longer be chained or have chaining priority assigned.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) March 8, 2026 09:26
@renovate
Copy link
Contributor Author

renovate bot commented Mar 8, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package snafu@0.8.9 --precise 0.9.0
    Updating crates.io index
error: failed to select a version for `reqwest`.
    ... required by package `dsc v0.12.0-pre (/tmp/renovate/repos/github/docspell/dsc)`
versions that meet the requirements `^0.13.0` are: 0.13.2, 0.13.1, 0.13.0

package `dsc` depends on `reqwest` with feature `rustls-tls` but `reqwest` does not have that feature.
 available features: __native-tls, __native-tls-alpn, __rustls, __rustls-aws-lc-rs, __tls, blocking, brotli, charset, cookies, default, default-tls, deflate, form, gzip, h2, hickory-dns, http2, http3, json, multipart, native-tls, native-tls-no-alpn, native-tls-vendored, native-tls-vendored-no-alpn, query, rustls, rustls-native-certs, rustls-no-provider, socks, stream, system-proxy, webpki-roots, zstd


failed to select a version for `reqwest` which could resolve this conflict

@renovate renovate bot merged commit eb258c5 into master Mar 8, 2026
1 of 10 checks passed
@renovate renovate bot deleted the renovate/snafu-0.x branch March 8, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants