#panic #backtrace #terminal

bin+lib gay_panic

A Rust panic handler, but make it gay

3 releases (stable)

Uses new Rust 2021

1.0.1 Nov 4, 2022
0.1.0 Jun 19, 2022

#841 in Development tools

Download history 1/week @ 2022-08-08 1/week @ 2022-08-15 1/week @ 2022-08-22 2/week @ 2022-09-05 1/week @ 2022-09-12 1/week @ 2022-09-19 1/week @ 2022-09-26 1/week @ 2022-10-03 1/week @ 2022-10-24 38/week @ 2022-10-31 10/week @ 2022-11-07 1/week @ 2022-11-14 4/week @ 2022-11-21

53 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.4–0.8MB
~19K SLoC