| Crates.io | proc-exit |
| lib.rs | proc-exit |
| version | 2.0.2 |
| created_at | 2020-11-22 03:51:16.945377+00 |
| updated_at | 2024-07-25 14:36:16.625318+00 |
| description | Exit codes for process termination |
| homepage | |
| repository | https://github.com/rust-cli/proc-exit |
| max_upload_size | |
| id | 314908 |
| size | 42,668 |
Exit codes for process termination
i32 newtype for exit codes
main, std::process, and std::io::ErrorAdd to your Cargo.toml:
$ cargo add proc-exit
Other crates that might be useful in testing command line programs.
assert_cmd can be reused to simplify controlling CLIsSome crates that fill a similar role include:
std::process and std::io::Errormaini32 constants and helper methodsmain, std::process, or std::io::Errori32 constants and helper methodsmain, std::process, or std::io::ErrorDisplayable errors to be used with ? in main()Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.