sysexits-rs

CI Version Docs License

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.

Usage

Add this to your Cargo.toml:

toml [dependencies] sysexits = "0.1.1"

Documentation

See the documentation for usage and examples.

Minimum supported Rust version

The minimum supported Rust version (MSRV) of this library is v1.61.0 or later.

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

License

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.