Update Rust crate snafu to 0.8 - autoclosed #4838
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.7
->0.8
Release Notes
shepmaster/snafu (snafu)
v0.8.0
Compare Source
Added
snafu(transparent)
allows creating compound error types that actas if they were not present, delegating thier
Display
andError
implementations to the source error. This is useful when aggregating
smaller errors that already completely explain the failure.
ResultExt::boxed
andResultExt::boxed_local
are available toconvert 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 concretetype. This is a breaking change.
Error fields marked
location
are no longer automaticallyimplicitly created. This is a breaking change.
Adding
#[snafu]
attributes to the field of a tuple struct are nowerrors. This is a breaking change.
The SNAFU copy of the
Error
trait now marks thedescription
andcause
methods as deprecated, following the standard library'sexample. 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 errortext of the source error. This is a breaking change.
The
backtraces
andunstable-backtraces-impl-std
feature flagshave been removed. This is a breaking change. The
Backtrace
type is now the standard library's
Backtrace
type when it isavailable.
Fixed
Configuration
📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.