Skip to content

Bump anyhow from 1.0.47 to 1.0.48

Sergej Kostjucenko requested to merge dependabot/cargo/anyhow-1.0.48 into master

Created by: dependabot[bot]

Bumps anyhow from 1.0.47 to 1.0.48.

Release notes

Sourced from anyhow's releases.

1.0.48

  • Include a Debug rendering of lhs and rhs in ensure! messages (#193, #194, #195, #196, #197, #198)

    Example:

    ensure!(flags.len() <= 40);
    ensure!(kind == Kind::File);

    Before:

    Condition failed: `flags.len() <= 40`
    Condition failed: `kind == Kind::File`

    After:

    Condition failed: `flags.len() <= 40` (99 vs 40)
    Condition failed: `kind == Kind::File` (Symlink vs File)
Commits
  • f4269d5 Release 1.0.48
  • 13f8f01 Merge pull request #198 from dtolnay/ensure
  • c5068a8 Suppress clippy lints exposed by spans fix
  • 0b5c758 Use a real unsafe expr for the unsafe test
  • 34df4cc Preserve spans of all punctuation and keyword tokens in ensure
  • bf31e76 Merge pull request #197 from dtolnay/ensure
  • a574356 Restore no_std support where String isn't in prelude
  • 6f3b70e Format with rustfmt 1.4.38
  • 7d8ba95 Preallocate space for rendered ensure message
  • b75dcd2 Merge pull request #196 from dtolnay/ensure
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Merge request reports