sysexits-rs (sysexits
) is a library that provides the
system exit code constants as defined by <sysexits.h>
.
This library implements the Termination
trait, so
this can be returned from the main
function.
Add this to your Cargo.toml
:
toml
[dependencies]
sysexits = "0.1.1"
See the documentation for usage and examples.
The minimum supported Rust version (MSRV) of this library is v1.61.0 or later.
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
Copyright (C) 2022 Shun Sakai (see AUTHORS.adoc)
This library is distributed under the terms of either the Apache License 2.0 or the MIT License.
See COPYING, APACHE-2.0 and MIT for more details.