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

Update Rust crate anyhow to 1.0.68 #23

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Update Rust crate anyhow to 1.0.68 #23

merged 1 commit into from
Jan 10, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
anyhow dependencies patch 1.0.40 -> 1.0.68

Release Notes

dtolnay/anyhow

v1.0.68

Compare Source

  • Opt out of -Zrustdoc-scrape-examples on docs.rs for now

v1.0.67

Compare Source

  • Improve the backtrace captured when context() is used on an Option (#​280)

v1.0.66

Compare Source

  • Reduce unhelpful backtrace frames in backtraces captured during a context call (#​279)

v1.0.65

Compare Source

v1.0.64

Compare Source

  • Correctly propagate Backtrace when using #[source] anyhow::Error with thiserror crate (#​231)

v1.0.63

Compare Source

v1.0.62

Compare Source

  • Fix extra rebuilding when interleaving command-line cargo invocations with IDE builds (#​261)

v1.0.61

Compare Source

  • Work around rust-analyzer builds poisoning all subsequent command-line cargo builds (#​252)

v1.0.60

Compare Source

  • Propagate --target to rustc invocation when deciding about backtrace support (#​249, thanks @​RalfJung)

v1.0.59

Compare Source

  • Update crates.io metadata to include no-std category

v1.0.58

Compare Source

  • Fix some broken links in documentation

v1.0.57

Compare Source

  • Remove a log4rs-specific workaround from bail! macro implementation

v1.0.56

Compare Source

  • Add must_use warning when an Error created by anyhow! is not used, perhaps because the programmer meant to write bail! instead (#​229)

v1.0.55

Compare Source

  • Documentation improvements

v1.0.54

Compare Source

  • Construct more helpful error message from ensure! when the expression involves a negative literal const generic as the first generic argument of a method call (#​224)

v1.0.53

Compare Source

v1.0.52

Compare Source

  • Reduce overhead of backtrace capture in the case that backtraces are not enabled (#​212)

v1.0.51

Compare Source

  • Show doc for Ok fn

v1.0.50

Compare Source

v1.0.49

Compare Source

  • Add a function anyhow::Ok(v) equivalent to Ok::<_, anyhow::Error>(v) (#​192)

v1.0.48

Compare Source

Example:
```rust
ensure!(flags.len() <= 40);
```

```rust
ensure!(kind == Kind::File);
```

Before:

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

After:

```console
Condition failed: `flags.len() <= 40` (99 vs 40)
Condition failed: `kind == Kind::File` (Symlink vs File)
```

v1.0.47

Compare Source

  • Fixes for implicit format args support

v1.0.46

Compare Source

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

v1.0.45

Compare Source

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

v1.0.44

Compare Source

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

v1.0.43

Compare Source

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

v1.0.42

Compare Source

  • Enable Android's automated tooling to pull in test coverage improvements

v1.0.41

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@bootjp bootjp merged commit d756259 into main Jan 10, 2023
@renovate renovate bot deleted the renovate/anyhow-1.x branch January 10, 2023 05:41
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.

None yet

1 participant