#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

#1449 in Development tools

Download history 14/week @ 2024-02-16 24/week @ 2024-02-23 7/week @ 2024-03-01 2/week @ 2024-03-15 41/week @ 2024-03-29 11/week @ 2024-04-05

54 downloads per month

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
~22K SLoC