#backtrace #panic #terminal

bin+lib gay_panic

A Rust panic handler, but make it gay

3 releases (stable)

1.0.1 Nov 4, 2022
0.1.0 Jun 19, 2022

#1493 in Development tools

CC0 license

100KB
230 lines

gay_panic

A Rust panic handler, but make it gay.

Docs.rs Crates.io

A panic handler that shows pretty backtraces:

fn main() {
    use gay_panic::Config;

    gay_panic::init_with(Config {
        call_previous_hook: false,
        force_capture_backtrace: true,
    });
}

Rainbow backtrace


lib.rs:

A Rust panic handler, but make it gay.

Dependencies

~0.5–1MB
~23K SLoC