Skip to content

Releases: dtolnay/anyhow

1.0.40

26 Mar 17:31
1.0.40
704622f

Choose a tag to compare

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

1.0.39

20 Mar 03:24
1.0.39
8599c7b

Choose a tag to compare

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

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

1.0.38

11 Jan 01:30
1.0.38
6a16413

Choose a tag to compare

  • Support using anyhow::Error in code executed by Miri (#134, thanks @thomcc)

1.0.37

28 Dec 19:27
1.0.37
d1ba145

Choose a tag to compare

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

1.0.36

18 Dec 20:31
1.0.36
f9419cd

Choose a tag to compare

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

1.0.35

06 Dec 02:43
1.0.35
2a82468

Choose a tag to compare

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

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

1.0.34

02 Nov 23:44
1.0.34
99c9821

Choose a tag to compare

1.0.33

06 Oct 20:08
1.0.33
840afd8

Choose a tag to compare

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

1.0.32

24 Jul 21:51
1.0.32
5a19363

Choose a tag to compare

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

1.0.31

15 May 05:01
1.0.31
144763c

Choose a tag to compare

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