Releases: dtolnay/anyhow
Releases · dtolnay/anyhow
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)
1.0.42
- Enable Android's automated tooling to pull in test coverage improvements
1.0.41
- Disallow incompatible old versions of backtrace crate (#155, thanks @jfirebaugh)
1.0.40
- Reduce memory footprint of errors on Rust versions 1.51+ (#145)
1.0.38
- Support using anyhow::Error in code executed by Miri (#134, thanks @thomcc)
1.0.37
- Improve compiler diagnostic on calling macro with a temporary value (#133)