|0.3.0||Jan 15, 2022|
|0.2.0||Sep 7, 2019|
|0.1.2||Jul 15, 2019|
|0.1.1||Jun 20, 2019|
|0.1.0||Jun 20, 2019|
#49 in Value formatting
10,836 downloads per month
Used in 59 crates (54 directly)
better-panic gives you pretty backtraces for panics.
It is inspired by Python tracebacks and tries to replicate them as well as possible. This is what it looks like:
Some of the code is based on the color-backtrace library.
The most common way to use it is to invoke the
which installs a panic handler. In debug builds the backtrace is shown
automatically, in release builds it's hidden by default.
For more configuration see the
- Colorize backtraces to be easier on the eyes
- Show source snippets if source files are found on disk
- Hide all the frames after the panic was already initiated
License and Links