Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate snafu to 0.8 #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2023

This PR contains the following updates:

Package Type Update Change
snafu dependencies minor 0.7 -> 0.8

Release Notes

shepmaster/snafu (snafu)

v0.8.4

Compare Source

Fixed
  • Use the fully-qualified path to Location in the location!()
    macro.

v0.8.3

Compare Source

Changed
  • Report now prints an "Error: " prefix when returned directly from
    main or tests.

  • Support heck version 0.5 in addition to 0.4.

v0.8.2

Compare Source

Fixed
  • Adding a custom Whatever variant to a generic error enum is now
    supported.

  • The #[report] macro works better on functions that require more
    complicated type inference for their return types.

v0.8.1

Compare Source

Added
  • Error types that use constant generics are now supported.

v0.8.0

Compare Source

Added
  • snafu(transparent) allows creating compound error types that act
    as if they were not present, delegating thier Display and Error
    implementations to the source error. This is useful when aggregating
    smaller errors that already completely explain the failure.

  • ResultExt::boxed and ResultExt::boxed_local are available to
    convert an error value into an owned trait object. This is useful
    when an error type is a generic controlled by the caller.

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

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

  • The item type of the ChainCompat iterator is now &'a (dyn Error + 'b) to allow downcasting the error trait object to a concrete
    type. This is a breaking change.

  • Error fields marked location are no longer automatically
    implicitly created. This is a breaking change.

  • Adding #[snafu] attributes to the field of a tuple struct are now
    errors. This is a breaking change.

  • The SNAFU copy of the Error trait now marks the description and
    cause methods as deprecated, following the standard library's
    example. This trait is only active when using SNAFU in a no_std
    environment and no functional difference is intended.

Removed
  • The default Display implementation no longer includes the error
    text of the source error. This is a breaking change.

  • The backtraces and unstable-backtraces-impl-std feature flags
    have been removed. This is a breaking change. The Backtrace
    type is now the standard library's Backtrace type when it is
    available.


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 changed the title Update Rust crate snafu to 0.8 Update Rust crate snafu to 0.8.2 May 1, 2024
@renovate renovate bot changed the title Update Rust crate snafu to 0.8.2 Update Rust crate snafu to 0.8 May 5, 2024
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