#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

#26 in #colored

36 downloads per month

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

~14MB
~261K SLoC