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 v1.0.97 #32

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 5, 2024

This PR contains the following updates:

Package Type Update Change
anyhow dependencies patch 1.0.32 -> 1.0.97

Release Notes

dtolnay/anyhow (anyhow)

v1.0.97

Compare Source

  • Documentation improvements

v1.0.96

Compare Source

  • Documentation improvements

v1.0.95

Compare Source

v1.0.94

Compare Source

  • Documentation improvements

v1.0.93

Compare Source

  • Update dev-dependencies to thiserror v2

v1.0.92

Compare Source

  • Support Rust 1.82's &raw const and &raw mut syntax inside ensure! (#​390)

v1.0.91

Compare Source

  • Ensure OUT_DIR is left with deterministic contents after build script execution (#​388)

v1.0.90

Compare Source

  • Documentation improvements

v1.0.89

Compare Source

  • Make anyhow::Error's UnwindSafe and RefUnwindSafe impl consistently available between versions of Rust newer and older than 1.72 (#​386)

v1.0.88

Compare Source

  • Documentation improvements

v1.0.87

Compare Source

  • Support more APIs, including Error::new and Error::chain, in no-std mode on Rust 1.81+ (#​383)

v1.0.86

Compare Source

  • Fix parse error in ensure! with non-literal after minus sign (#​373)

v1.0.85

Compare Source

  • Improve ensure! macro's rules to unblock some rustc pretty-printer improvements (#​368, #​371)

v1.0.84

Compare Source

  • Disallow calling ensure! through a Not impl for a type that is not bool (#​367)

v1.0.83

Compare Source

  • Integrate compile-time checking of cfgs (#​363)

v1.0.82

Compare Source

  • Documentation improvements

v1.0.81

Compare Source

  • Make backtrace support available when using -Dwarnings (#​354)

v1.0.80

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78

v1.0.79

Compare Source

  • Work around improperly cached build script result by sccache (#​340)

v1.0.78

Compare Source

  • Reduce spurious rebuilds under RustRover IDE when using a nightly toolchain (#​337)

v1.0.77

Compare Source

v1.0.76

Compare Source

  • Opt in to unsafe_op_in_unsafe_fn lint (#​329)

v1.0.75

Compare Source

v1.0.74

Compare Source

v1.0.73

Compare Source

v1.0.72

Compare Source

  • Documentation improvements

v1.0.71

Compare Source

  • Documentation improvements

v1.0.70

Compare Source

  • Update syn dependency to 2.x

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)

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from f032941 to e7a777a Compare May 6, 2024 23:06
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.82 Update Rust crate anyhow to v1.0.83 May 6, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from e7a777a to 0310ce7 Compare May 17, 2024 21:04
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.83 Update Rust crate anyhow to v1.0.84 May 17, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 0310ce7 to e8996ab Compare May 18, 2024 03:41
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.84 Update Rust crate anyhow to v1.0.85 May 18, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from e8996ab to 4fa7942 Compare May 18, 2024 15:51
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.85 Update Rust crate anyhow to v1.0.86 May 18, 2024
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.86 Update Rust crate anyhow to v1.0.87 Sep 6, 2024
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.87 Update Rust crate anyhow to v1.0.88 Sep 11, 2024
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.88 Update Rust crate anyhow to v1.0.89 Sep 15, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 4fa7942 to 96eb4ce Compare September 16, 2024 11:07
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 96eb4ce to 1eb1b47 Compare October 18, 2024 15:27
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.89 Update Rust crate anyhow to v1.0.90 Oct 18, 2024
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.90 Update Rust crate anyhow to v1.0.91 Oct 22, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 1eb1b47 to 75a4925 Compare October 22, 2024 19:07
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 75a4925 to 34c7a0b Compare November 2, 2024 14:57
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.91 Update Rust crate anyhow to v1.0.92 Nov 2, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 34c7a0b to 41bacfe Compare November 6, 2024 06:25
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.92 Update Rust crate anyhow to v1.0.93 Nov 6, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 41bacfe to 32abc5d Compare December 3, 2024 20:09
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.93 Update Rust crate anyhow to v1.0.94 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 32abc5d to aa82617 Compare December 22, 2024 12:14
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.94 Update Rust crate anyhow to v1.0.95 Dec 22, 2024
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from aa82617 to 8afa6da Compare February 20, 2025 05:39
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.95 Update Rust crate anyhow to v1.0.96 Feb 20, 2025
@renovate renovate bot force-pushed the renovate/anyhow-1.x-lockfile branch from 8afa6da to 907da97 Compare March 3, 2025 07:01
@renovate renovate bot changed the title Update Rust crate anyhow to v1.0.96 Update Rust crate anyhow to v1.0.97 Mar 3, 2025
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