A Rust library that makes panics a little less painful by nicely colorizing them and printing the relevant source snippets.
toml
[dependencies]
color-backtrace = { version = "0.2" }
To enable it, simply place this code somewhere in your app initialization code:
rust
color_backtrace::install();
If you want to customize some settings, you can instead do:
rust
use color_backtrace::{install_with_settings, Settings};
install_with_settings(Settings::new().message("Custom message!"));