9 Commits

Author SHA1 Message Date
x-hgg-x
7c7155f677
Support format arguments capture (#66)
* Support format arguments capture

* Fix tests
2022-01-19 15:06:40 -08:00
Jane Lusby
032d879381
Implement track caller support for eyre::Report (#36)
* Implement track caller support for eyre::Report

* fix errors on old compiler version

* fix tests

* add a changelog

* (cargo-release) version 0.6.1-rc.1

* Allow missing replacement for diff range

* maybe it has to be deleted

* okay try removing it entirely...

* (cargo-release) version 0.6.1

* (cargo-release) start next development iteration 0.6.2-alpha.0

* add back missing replacement
2020-09-28 19:38:53 -07:00
Jane Lusby
f39eaff0b2
Switch report handler to a global hook (#29)
* Switch report handler to a global hook

* more cleanup

* remove default from example

* remove broken support for no_std

* back out the unneeded nostd check

* remove one stackframe when capturing a Handler

* update docs and prep for release

* port lib.rs docs updates to readme
2020-07-05 19:04:31 -07:00
Jane Lusby
86da223cde Rename core types 2020-02-27 13:04:19 -08:00
David Tolnay
9060b6b754
No need to probe backtrace if std is disabled 2019-11-27 16:22:31 -08:00
Peter Kolloch
f8c7340ec7
Rename the probe rust file to probe.rs
This would help some people with build problems using [nix](https://nixos.org) or to be more specific `buildRustCrate` (but that's probably not meaningful to you).

See https://github.com/kolloch/crate2nix/issues/39 and https://github.com/NixOS/nixpkgs/issues/74071.

It is clearly a bug in buildRustCrate but if you could accept this change in the meanwhile...
2019-11-24 20:48:14 +01:00
David Tolnay
5ada2978c5
Replace version check with probing Backtrace api 2019-10-18 10:45:15 -04:00
David Tolnay
d782e42503
Detect compiler minor version in build script 2019-10-13 09:03:20 -07:00
David Tolnay
270ea5e7d5
Detect nightly and only expose backtrace if available 2019-10-05 23:20:51 -04:00