Commit Graph

9 Commits

Author SHA1 Message Date
Michael Pfaff db01cce71c Refactor and redesign API 2024-03-21 00:34:50 -04:00
Michael Pfaff fb08be31d4 Small changes 2024-03-20 23:15:16 -04:00
Michael Pfaff 8a055af669
Optional feature to wrap backtrace in an Arc to enable a full Clone impl 2023-07-01 12:58:07 -04:00
Michael Pfaff db067003d8
Expose Detail
- Add some accessor methods on `Context`
- Wrap some variants in private structs to prevent people from depending
  on them
- Add some #[inline]
2023-07-01 12:37:14 -04:00
Michael Pfaff 6ad97e1d76
Bump version 2023-06-29 01:51:56 -04:00
Michael Pfaff efa1c3fa37
Refactoring, update docs, API adjustments 2023-06-29 01:51:08 -04:00
Michael Pfaff 9950d96522
Improved output and API
- New and improved output format
- Adjusted context API to go along with it
- Nicer output for termination
- Better example
- Better handling of backtraces
- Removed a silly field that is never used
- `How::location` now returns the actual location instead of the context
  element
- `Location::caller` is now additionally captured for every call to
  `How::context`
- Added a feature that implements `Clone` for `How` (by deferring to the
  existing `clone_without_backtrace` method)
2023-06-29 00:00:42 -04:00
Michael Pfaff a3058961f8
Seems good 2022-07-21 20:40:44 -04:00
Michael Pfaff fdb14c22ec
Where was I? 2022-07-21 20:39:47 -04:00