Skip to content

Bump anyhow from 1.0.34 to 1.0.48#307

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/anyhow-1.0.48
Closed

Bump anyhow from 1.0.34 to 1.0.48#307
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/anyhow-1.0.48

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2021

Copy link
Copy Markdown

Bumps anyhow from 1.0.34 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)

1.0.47

  • Fixes for implicit format args support

1.0.46

  • Support for implicit format args to match println and other std macros (https://rust-lang.github.io/rfcs/2795-format-args-implicit-identifiers.html)

    let var = ...;
    let error = anyhow!("interpolate {var}");  // equivalent to anyhow!("interpolate {var}", var=var)
  • Detect missing fmt arguments at compile time: anyhow!("{} not found") (#55)

  • Reduce occurrence of "future cannot be shared between threads safely" in async code using anyhow macros (#186)

1.0.45

  • Fix non-compilable macro expansion if downstream crate calls anyhow!, ensure!, or bail! with format args and is built with #![no_std] or #![no_implicit_prelude] (#177)

1.0.44

  • Mark error constructors cold to help LLVM optimize code paths not leading to error (#166, thanks @​stepancheg)

1.0.43

  • Take -Zallow-features restrictions from Cargo configuration file into account on sufficiently new versions of nightly Cargo (#157, thanks @​jonhoo)

... (truncated)

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)

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.34 to 1.0.48.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.34...1.0.48)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 23, 2021

Copy link
Copy Markdown
Author

The following labels could not be found: cargo, dependencies.

@dependabot @github

dependabot Bot commented on behalf of github Nov 29, 2021

Copy link
Copy Markdown
Author

Superseded by #310.

@dependabot dependabot Bot closed this Nov 29, 2021
@dependabot
dependabot Bot deleted the dependabot/cargo/anyhow-1.0.48 branch November 29, 2021 17:36
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