9 releases (stable)
|1.1.4||Jun 27, 2021|
|1.1.3||Apr 22, 2021|
|1.1.2||Sep 25, 2020|
|1.1.0||Jul 9, 2020|
|0.1.0||Mar 15, 2020|
#80 in Command-line interface
566 downloads per month
Used in 3 crates
This crate allows cleanly exiting a program using a custom exit code, without
the drawbacks of
exit. Destructors will be called as usual, and the stack
will be unwound to the main function.
Add the following lines to your "Cargo.toml" file:
[dependencies] quit = "1.1"
See the documentation for available functionality and examples.
The minimum supported Rust toolchain version is currently Rust 1.32.0.
Licensing terms are specified in COPYRIGHT.
Unless you explicitly state otherwise, any contribution submitted for inclusion in this crate, as defined in LICENSE-APACHE, shall be licensed according to COPYRIGHT, without any additional terms or conditions.