Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump anyhow from 1.0.45 to 1.0.48 #16

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

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

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.45 to 1.0.48.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.45...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 dependabot bot added the dependencies Pull requests that update a dependency file label Nov 23, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #16 (d33d276) into main (c29f322) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   61.08%   61.08%           
=======================================
  Files          85       85           
  Lines       12416    12414    -2     
=======================================
- Hits         7584     7583    -1     
+ Misses       4832     4831    -1     

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 29, 2021

Superseded by #21.

@dependabot dependabot bot closed this Nov 29, 2021
@dependabot dependabot bot deleted the dependabot/cargo/anyhow-1.0.48 branch November 29, 2021 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
1 participant