Gem 一覧へ戻る
rust-cli/proc-exit(新しいタブで開きます)
主要言語: Rust
Exit codes for process termination
- star 数
- 29
- watcher 数
- 4
- fork 数
- 2
- issue 数
- 2
- 最終更新
- 2026/10/05
主要言語: Rust
Exit codes for process termination
Exit codes for process termination
i32 newtype for exit codes
main, std::process, and std::io::ErrorAdd to your Cargo.toml:
$ cargo add proc-exitOther 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.