structopt VS argh

Compare structopt vs argh and see what are their differences.

structopt

Parse command line arguments by defining a struct. (by TeXitoi)

argh

Rust derive-based argument parsing optimized for code size (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
structopt argh
18 7
2,684 1,563
- 2.0%
2.7 6.0
4 months ago 15 days ago
Rust Rust
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

structopt

Posts with mentions or reviews of structopt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-03.

argh

Posts with mentions or reviews of argh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-07.

What are some alternatives?

When comparing structopt and argh you can also consider the following projects:

clap-rs - A full featured, fast Command Line Argument Parser for Rust

docopt.rs - Docopt for Rust (command line argument parser).

hello-actix - Hello, actix!

easy_flag - Simple command line flag parser for rust.

xflags

anyhow - Flexible concrete Error type built on std::error::Error

argparse-benchmarks-rs - Collected benchmarks for arg parsing crates written in Rust [Moved to: https://github.com/rosetta-rs/argparse-rosetta-rs]

rust-starter - Rust Starter Project

pico-args - An ultra simple CLI arguments parser.

enum-map

rust-prehistory - historical archive of rust pre-publication development