Error types that use constant generics are now supported.
[0.8.0] - 2023-12-28
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
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show 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 from 0.7.5 to 0.8.3.
Changelog
Sourced from snafu's changelog.
... (truncated)
Commits
59be37d
Release 0.8.3edeb562
Update the changelog38cf90a
Merge pull request #451 from shepmaster/imp/heck-0.5cec2d01
Merge pull request #453 from DerickEddington/report-print-prefix5b5f80d
[snafu-derive] Expand heck version range >=0.4, < 0.653c4f63
Make Report::report print the "Error: " prefix.36c6bbe
Merge pull request #454 from shepmaster/maint26b8204
Add extra errorsb77d097
Mark more test types as deliberately unuseddc6f99d
Remove redundant link targetDependabot 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show