Design comparison of clap and bpaf (arg parsers)

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • argparse-rosetta-rs

    Comparing argparse APIs

  • bpaf

    Command line parser with applicative interface

  • Most of the code change is here: https://github.com/pacak/bpaf/pull/57 https://github.com/pacak/bpaf/pull/60

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cargo-show-asm

    cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code

  • If you are using bpaf in a situation where you don't really care about the compilation time (or you do but already have proc macros) you just put the main options struct on top and describe the rest in any style: https://github.com/pacak/cargo-show-asm/blob/master/src/opts.rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts