Skip to content

Releases: dtolnay/anyhow

1.0.56

07 Mar 20:53
1.0.56
933df88
Compare
Choose a tag to compare
  • Add must_use warning when an Error created by anyhow! is not used, perhaps because the programmer meant to write bail! instead (#229)

1.0.55

21 Feb 22:20
1.0.55
3ca5036
Compare
Choose a tag to compare
  • Documentation improvements

1.0.54

21 Feb 20:09
1.0.54
471d6e9
Compare
Choose a tag to compare
  • 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)

1.0.53

22 Jan 01:12
1.0.53
7290028
Compare
Choose a tag to compare

1.0.52

23 Dec 19:05
1.0.52
f871e2f
Compare
Choose a tag to compare
  • Reduce overhead of backtrace capture in the case that backtraces are not enabled (#212)

1.0.51

29 Nov 16:15
1.0.51
871be23
Compare
Choose a tag to compare
  • Show doc for Ok fn

1.0.50

28 Nov 19:27
1.0.50
7f5c9c4
Compare
Choose a tag to compare

1.0.49

27 Nov 00:42
1.0.49
a5a98e0
Compare
Choose a tag to compare
  • Add a function anyhow::Ok(v) equivalent to Ok::<_, anyhow::Error>(v) (#192)

1.0.48

22 Nov 17:44
1.0.48
f4269d5
Compare
Choose a tag to compare
  • 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

22 Nov 17:42
1.0.47
3a183b9
Compare
Choose a tag to compare
  • Fixes for implicit format args support