Bump snafu from 0.7.1 to 0.7.3
Bumps snafu from 0.7.1 to 0.7.3.
Changelog
Sourced from snafu's changelog.
0.7.3 - 2022-10-20
Fixed
- The macro no longer generates invalid code when implicitly-generated types (such as backtraces) were used in conjunction with
#[snafu(source(from))]and the type before transformation does not implementstd::error::Error.0.7.2 - 2022-10-09
Added
Reportcan be returned frommainor test functions to provide a user-friendly display of errors.A cheat sheet for the most common
#[snafu(...)]attribute usages has been added to theSnafumacro's documentation.Optional support for using the standard library's
std::backtrace::Backtracetype via thebacktraces-impl-stdfeature flag.Optional support for implementing the Provider API using the
std::error::Error::providemethod via theunstable-provider-apifeature flag.Optional support for implementing the
core::error::Errortrait instead ofstd::error::Errorvia theunstable-core-errorfeature flag.
GenerateImplicitDatahas a new methodgenerate_with_source.Changed
ErrorCompat::iter_chainandChainCompatare now available in no_std environments.
ChainCompatnow implementsClone.The
Debugimplementation forLocationno longer shows some irrelevant internal details.
Commits
35dcf44Release 0.7.3e3bc93cUpdate the changeloge80bd8cMerge pull request #366 from shepmaster/generate-implicit-with-transformed-so...4c433c8Uniformly use the transformed error source in the error constructorf6a3368Clarify we are using the source type as part of the transformation83fc90cRelease 0.7.201bb60dUpdate the changeloge647ea8Merge pull request #361 from shepmaster/implicit-data-with-source791b50aDon't createOption\<Backtrace>when the source error provides aBacktrace0ce4e1aAdd GenerateImplicitData::generate_with_source- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)