#backtrace #colored #pretty #force-setup

pretty_backtrace

Pretty colored backtraces for Rust

3 releases

0.1.2 May 9, 2019
0.1.1 May 8, 2019
0.1.0 Apr 14, 2019

#30 in #colored

MIT/Apache

170KB
329 lines

Pretty backtraces for rust

Cargo Build Status

pretty_backtrace::setup();
panic!("Bomb!");

Pretty backtraces are normally only enabled when RUST_BACKTRACE=pretty to prevent breaking tools which parse printed backtraces. If you want to always enable pretty backtraces use force_setup.

screenshot

Dependencies

~10–21MB
~287K SLoC