rusty-crab / warp-api-starter-template

A boilerplate template for starting a web services using Warp + SQLx (PostgreSQL) + Redis + Juniper (GraphQL). ❤️
MIT License
201 stars 17 forks source link

Bump anyhow from 1.0.34 to 1.0.48 #124

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

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)
dependabot[bot] commented 2 years ago

Superseded by #126.