340 Commits

Author SHA1 Message Date
Jane Lusby
0722bab8ea
fix missing track caller annotation (#40)
* fix missing track caller annotation

* (cargo-release) version 0.6.2

* (cargo-release) start next development iteration 0.6.3-alpha.0
2020-10-27 12:46:16 -07:00
Kevin Menard
44a6857093
Fix typos. (#39) 2020-10-08 12:41:28 -07: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
Za Wilcox
8c4cb4f66e
fixed minor errors in README, ?enhanced? punny-ness (#33)
Co-authored-by: zancas <zancas@zingolabs.com>
2020-08-24 14:31:49 -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
96ddb39cd0
fix type inference issue in eyre macro autoderef behavior (#27)
* fix type inference issue in eyre macro autoderef behavior

* use the upstream example

* update testcase compile err output

* remove cruft

* bump version for breaking change
2020-06-21 10:41:56 -07:00
Jane Lusby
fd00a3bbab
Rename EyreContext to EyreHandler (#26)
* Rename EyreContext to EyreHandler

* bump version for new release

* use pub use for aliases
2020-06-02 13:59:09 -07:00
Duncan R Hamill
be64ee415a
Fixed use of std::fmt rather than core::fmt (#22)
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
2020-05-29 17:51:00 -07:00
Basit Ayantunde
3621a4b66e
Fixed typo (#23) 2020-05-29 08:38:47 -07:00
Alex Chan
98a2d3085d
Remove unwanted apostrophe from “its ability” (#21) 2020-05-22 19:20:01 -07:00
Jane Lusby
86c1267aab
bump indenter dep version and update readme
* Update testing

* dont bother testing no_std yet ...

* bump version for new release with fixed indenter

* add documentation about custom context crates
2020-05-17 10:37:33 -07:00
Jane Lusby
dbc3cc181e bump minor version for compat trait 2020-05-07 11:01:12 -07:00
Jane Lusby
6daf46c7aa
Add ContextCompat trait for porting from anyhow (#15) 2020-05-07 10:54:28 -07:00
Jane Lusby
d525c1fc0a
remove member access fns and backtrace fn (#14)
* remove member access fns and

* fix nightly errors

* bring back the test i accidentally removed
2020-05-04 12:20:46 -07:00
Jane Lusby
1e1eb56abf
remove br from docs and fix compile_fail docs (#13) 2020-05-03 15:23:20 -07:00
Jane Lusby
38a2e706dd
simplify docs and add back compat support (#12)
* simplify docs

* improve docs a little more
2020-05-03 13:40:02 -07:00
Jane Lusby
34fe97f15f Merge upstream changes 2020-04-29 21:00:54 -07:00
Jane Lusby
273ce8c818 Merge branch 'master' of github.com:yaahc/eyre 2020-04-29 20:59:18 -07:00
Jane Lusby
a5bf9babaf update description 2020-04-29 20:58:04 -07:00
Félix Saparelli
fa398e764c
Fix strings on last few examples (#11) 2020-04-25 06:22:43 -07:00
David Tolnay
150abf1270
Run clippy on latest nightly that has clippy 2020-04-23 10:36:31 -07:00
Jane Lusby
3ac0be8322
merge upstream changes from anyhow (#10) 2020-04-13 09:19:24 -07:00
Jane Lusby
e3bf56ef5c
Rename ErrReport to Report (#9)
* Rename ErrReport to Report

* bump versions to prep for a release
2020-04-13 09:10:30 -07:00
Jane Lusby
6b601f8215
Propogate context to the top most error when wrapping inner errors (#5)
* Propogate context when wrapping errors with Option::take

* fix test failure in fmt output

* bump version for release
2020-04-07 14:26:48 -07:00
Jane Lusby
7a9d480c99 provide a default impl for the Display trait 2020-04-07 13:05:33 -07:00
Pascal Hertleif
ab76683def Fix tracing_error::SpanTrace link in Readme
Just a quick drive-by commit :)
2020-04-05 05:15:48 -07:00
David Tolnay
022f700a1c
Release 1.0.28 2020-03-30 16:21:57 -07:00
David Tolnay
e2eb1f5263
Merge pull request #78 from dtolnay/cfg
Use doc_cfg to mark Error::new
2020-03-30 16:20:09 -07:00
David Tolnay
d65ec5ed2f
Use doc_cfg to mark Error::new 2020-03-30 16:15:38 -07:00
David Tolnay
e46df9f4a5
Rephrase nightly backtrace note 2020-03-19 23:08:52 -07:00
David Tolnay
946bff8a54
Merge pull request #73 from lzybkr/nightly_in_docs
Mention nightly more prominently
2020-03-19 23:05:54 -07:00
Jason Shirk
a07b84b641 Mention nightly in module docs 2020-03-19 22:31:33 -07:00
David Tolnay
ffc45d2d42
Select a single docs.rs build target 2020-03-17 13:27:25 -07:00
David Tolnay
e7702aa4fc
Release 1.0.27 2020-03-14 13:36:20 -07:00
David Tolnay
19be9654a0
Merge pull request #71 from dtolnay/dev
Disable dev dependency on futures executor
2020-03-14 13:35:54 -07:00
David Tolnay
4426253333
Disable dev dependency on futures executor
All we need in the example code is futures::stream.
2020-03-14 13:31:26 -07:00
David Tolnay
8d2aceaec7
Merge pull request #70 from dtolnay/env
Explain backtrace env variable combinations
2020-03-14 13:31:18 -07:00
David Tolnay
4bebd2ab1e
Explain backtrace env variable combinations 2020-03-14 13:26:08 -07:00
Jane Lusby
78817d3faf Update readme 2020-03-13 14:32:54 -07:00
Jane Lusby
2397da0112 More readme / docs updates 2020-03-05 18:54:39 -08:00
Jane Lusby
3fe020cd20 Add readme docs to lib 2020-03-05 18:49:56 -08:00
Jane Lusby
6ce7d262f7 More updates to the readme 2020-03-05 18:45:59 -08:00
Jane Lusby
782e62f3b1 Bump version to push updated docs to crates 2020-03-05 18:41:01 -08:00
Jane Lusby
ecff17c22b Fix more references to old context design 2020-03-05 18:40:22 -08:00
Jane Lusby
8fc4e962a9 Update wrap_err docs 2020-03-05 18:29:40 -08:00
Jane Lusby
4bf18acb8f Be more assertive 2020-03-05 17:44:50 -08:00
Jane Lusby
d60a8bdeec Fix readme on crates.io 2020-03-04 17:20:49 -08:00
Jane Lusby
788f7e8bbd Another one bites the dust 2020-03-04 17:15:40 -08:00
Jane Lusby
24f97fa239 Fix more broken links 2020-03-04 17:15:04 -08:00
Jane Lusby
35bd502085 Fix another broken test 2020-03-04 17:13:37 -08:00