cli-panics

Crates.iocli-panics
lib.rscli-panics
version0.1.2
created_at2023-05-24 02:34:13.967165+00
updated_at2025-10-23 12:57:29.072298+00
descriptionMake your panics easy to read
homepage
repositoryhttps://github.com/mrtnvgr/quiet_panics
max_upload_size
id872581
size2,411
(mrtnvgr)

documentation

README

quiet_panics

Hides debugging information from the user, leaving only the panic message.

Turns this:

thread 'main' panicked at src/main.rs:22:9:
test.patch.ini is not a file
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Into this:

test.patch.ini is not a file

Usage:

use quiet_panics::set_panic_hook;

fn main() {
    set_panic_hook();

    // ...
}
Commit count: 0

cargo fmt