sysexits-rs

The system exit codes as defined by <sysexits.h> for Rust

https://github.com/sorairolake/sysexits-rs

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.0%) to scientific vocabulary

Keywords

exitcode rust rust-lang rust-library sysexits

Keywords from Contributors

argument-parser interactive network-simulation hacking subcommands positional-arguments parsed-arguments command-line-parser embedded optim
Last synced: 6 months ago · JSON representation ·

Repository

The system exit codes as defined by <sysexits.h> for Rust

Basic Info
  • Host: GitHub
  • Owner: sorairolake
  • License: apache-2.0
  • Language: Rust
  • Default Branch: develop
  • Homepage: https://docs.rs/sysexits
  • Size: 445 KB
Statistics
  • Stars: 30
  • Watchers: 5
  • Forks: 4
  • Open Issues: 0
  • Releases: 0
Topics
exitcode rust rust-lang rust-library sysexits
Created over 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Authors

README.md

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:

sh 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.

Owner

  • Name: Shun Sakai
  • Login: sorairolake
  • Kind: user
  • Location: Nagano, Japan

Citation (CITATION.cff)

# SPDX-FileCopyrightText: 2022 Kevin Matthes
# SPDX-FileCopyrightText: 2022 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT

# Parser settings.
cff-version: 1.2.0
message: Please cite this software using these meta data.

# Version information.
date-released: 2025-07-28
version: 0.9.1

# Project information.
abstract: The system exit codes as defined by <sysexits.h> for Rust
authors:
  - alias: sorairolake
    family-names: Sakai
    given-names: Shun
  - alias: kevinmatthes
    family-names: Matthes
    given-names: Kevin
  - alias: TheAlgorythm
    name: zSchoen
license:
  - Apache-2.0
  - MIT
repository-artifact: https://crates.io/crates/sysexits
repository-code: https://github.com/sorairolake/sysexits-rs
title: sysexits-rs
url: https://docs.rs/sysexits

GitHub Events

Total
  • Issues event: 2
  • Watch event: 7
  • Delete event: 52
  • Issue comment event: 12
  • Push event: 81
  • Pull request review event: 31
  • Pull request event: 104
  • Create event: 55
Last Year
  • Issues event: 2
  • Watch event: 7
  • Delete event: 52
  • Issue comment event: 12
  • Push event: 81
  • Pull request review event: 31
  • Pull request event: 104
  • Create event: 55

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 332
  • Total Committers: 4
  • Avg Commits per committer: 83.0
  • Development Distribution Score (DDS): 0.187
Past Year
  • Commits: 112
  • Committers: 2
  • Avg Commits per committer: 56.0
  • Development Distribution Score (DDS): 0.232
Top Committers
Name Email Commits
Shun Sakai s****e@p****h 270
dependabot[bot] 4****] 33
Kevin Matthes 9****s 26
ZSchoen d****v@z****v 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 4
  • Total pull requests: 198
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 10 hours
  • Total issue authors: 3
  • Total pull request authors: 4
  • Average comments per issue: 0.75
  • Average comments per pull request: 0.25
  • Merged pull requests: 180
  • Bot issues: 0
  • Bot pull requests: 67
Past Year
  • Issues: 2
  • Pull requests: 96
  • Average time to close issues: 2 months
  • Average time to close pull requests: about 16 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.18
  • Merged pull requests: 79
  • Bot issues: 0
  • Bot pull requests: 56
Top Authors
Issue Authors
  • sorairolake (4)
  • kevinmatthes (1)
  • dependabot[bot] (1)
Pull Request Authors
  • sorairolake (158)
  • dependabot[bot] (84)
  • kevinmatthes (11)
  • TheAlgorythm (1)
Top Labels
Issue Labels
enhancement (2) dependencies (1) github_actions (1)
Pull Request Labels
dependencies (84) rust (55) github_actions (20)

Dependencies

.github/workflows/CI.yaml actions
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain v1 composite
.github/workflows/REUSE.yaml actions
  • actions/checkout v4 composite
  • fsfe/reuse-action v4.0.0 composite
.github/workflows/SemverChecks.yaml actions
  • actions/checkout v4 composite
  • obi1kenobi/cargo-semver-checks-action v2.6 composite
.github/workflows/actionlint.yaml actions
  • actions/checkout v4 composite
  • docker://rhysd/actionlint latest composite
.github/workflows/cffconvert.yaml actions
  • actions/checkout v4 composite
  • docker://citationcff/cffconvert latest composite
Cargo.lock cargo
  • anstream 0.6.15
  • anstyle 1.0.8
  • anstyle-parse 0.2.5
  • anstyle-query 1.1.1
  • anstyle-wincon 3.0.4
  • autocfg 1.3.0
  • bit-set 0.5.3
  • bit-vec 0.6.3
  • bitflags 2.6.0
  • byteorder 1.5.0
  • cfg-if 1.0.0
  • clap 4.5.17
  • clap_builder 4.5.17
  • clap_derive 4.5.13
  • clap_lex 0.7.2
  • colorchoice 1.0.2
  • errno 0.3.9
  • fastrand 2.1.1
  • fnv 1.0.7
  • getrandom 0.2.15
  • heck 0.5.0
  • is_terminal_polyfill 1.70.1
  • lazy_static 1.5.0
  • libc 0.2.158
  • libm 0.2.8
  • linux-raw-sys 0.4.14
  • num-traits 0.2.19
  • once_cell 1.19.0
  • ppv-lite86 0.2.20
  • proc-macro2 1.0.86
  • proptest 1.5.0
  • quick-error 1.2.3
  • quote 1.0.37
  • rand 0.8.5
  • rand_chacha 0.3.1
  • rand_core 0.6.4
  • rand_xorshift 0.3.0
  • regex-syntax 0.8.4
  • rustix 0.38.35
  • rusty-fork 0.3.0
  • strsim 0.11.1
  • structmeta 0.3.0
  • structmeta-derive 0.3.0
  • syn 2.0.77
  • tempfile 3.12.0
  • test-strategy 0.4.0
  • unarray 0.1.4
  • unicode-ident 1.0.12
  • utf8parse 0.2.2
  • wait-timeout 0.2.0
  • wasi 0.11.0+wasi-snapshot-preview1
  • windows-sys 0.52.0
  • windows-sys 0.59.0
  • windows-targets 0.52.6
  • windows_aarch64_gnullvm 0.52.6
  • windows_aarch64_msvc 0.52.6
  • windows_i686_gnu 0.52.6
  • windows_i686_gnullvm 0.52.6
  • windows_i686_msvc 0.52.6
  • windows_x86_64_gnu 0.52.6
  • windows_x86_64_gnullvm 0.52.6
  • windows_x86_64_msvc 0.52.6
  • zerocopy 0.7.35
  • zerocopy-derive 0.7.35
Cargo.toml cargo
  • clap 4.5.17 development
  • proptest 1.5.0 development
  • test-strategy 0.4.0 development
.github/workflows/dependabot_auto_merge.yaml actions
  • dependabot/fetch-metadata v2.2.0 composite
.github/workflows/mirror.yaml actions
  • actions/checkout v4 composite
  • yesolutions/mirror-action v0.7.0 composite