sysexits

Crates.iosysexits
lib.rssysexits
version0.10.0
created_at2022-05-28 20:53:05.99841+00
updated_at2025-09-06 17:35:17.901515+00
descriptionThe system exit codes as defined by
homepage
repositoryhttps://github.com/sorairolake/sysexits-rs
max_upload_size
id596001
size156,796
Shun Sakai (sorairolake)

documentation

https://docs.rs/sysexits

README

sysexits-rs

CI Version MSRV Docs License REUSE status

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

Run the following command in your project directory:

cargo add sysexits

Crate features

std

Enables features that depend on the standard library. This is enabled by default.

no_std support

This supports no_std mode. Disables the default feature to enable this.

Documentation

See the documentation for more details.

Minimum supported Rust version

The minimum supported Rust version (MSRV) of this library is v1.85.0.

Source code

The upstream repository is available at https://github.com/sorairolake/sysexits-rs.git.

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

Similar projects

Please see https://github.com/sorairolake/awesome-sysexits.

License

Copyright (C) 2022 Shun Sakai and other contributors (see AUTHORS.adoc)

This library is distributed under the terms of either the Apache License 2.0 or the MIT License.

This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.

Commit count: 414

cargo fmt