Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Update Rust crate anyhow to 1.0.69 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 14, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
anyhow dependencies patch 1.0.28 -> 1.0.69

Release Notes

dtolnay/anyhow

v1.0.69

Compare Source

  • Documentation improvements

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

v1.0.40

Compare Source

  • Reduce memory footprint of errors on Rust versions 1.51+ (#​145)

v1.0.39

Compare Source

  • Add an opt-in implementation of Error::backtrace on stable compilers based on the backtrace crate (#​143)

    [dependencies]
    anyhow = { version = "1.0", features = ["backtrace"] }

v1.0.38

Compare Source

v1.0.37

Compare Source

  • Improve compiler diagnostic on calling macro with a temporary value (#​133)

v1.0.36

Compare Source

  • Make anyhow::Error ABI compatible with void* for round tripping through a C FFI (#​132)

v1.0.35

Compare Source

  • Support 1-argument use of ensure! (#​126)

    ensure!(depth <= MAX_DEPTH);
    // error msg on a false condition would be "Condition failed: `depth <= MAX_DEPTH`"

v1.0.34

Compare Source

v1.0.33

Compare Source

  • Clarify documentation of anyhow!, bail!, ensure! macros (#​114)

v1.0.32

Compare Source

  • Add impl From<anyhow::Error> for Box<dyn Error + Send + 'static> (#​103)

v1.0.31

Compare Source

  • Restore "Stack backtrace" header label above the backtrace in {:?} representation (#​92)

v1.0.30

Compare Source

  • Hide an error message that appears when building with cargo rustc -vv (#​91, thanks @​eoger)

v1.0.29

Compare Source

  • Documentation improvements

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.

@renovate renovate bot changed the title Update Rust crate anyhow to 1.0.61 Update Rust crate anyhow to 1.0.62 Aug 16, 2022
@renovate renovate bot changed the title Update Rust crate anyhow to 1.0.62 Update Rust crate anyhow to 1.0.63 Aug 31, 2022
@renovate renovate bot changed the title Update Rust crate anyhow to 1.0.63 Update Rust crate anyhow to 1.0.64 Sep 5, 2022
@renovate renovate bot changed the title Update Rust crate anyhow to 1.0.64 Update Rust crate anyhow to 1.0.65 Sep 13, 2022
@renovate renovate bot changed the title Update Rust crate anyhow to 1.0.65 Update Rust crate anyhow to 1.0.66 Nov 20, 2022
@renovate renovate bot changed the title Update Rust crate anyhow to 1.0.66 Update Rust crate anyhow to 1.0.69 Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants