#arguments-parser #parser #procedural #cli-parser

no-std bin+lib clap

A simple to use, efficient, and full-featured Command Line Argument Parser

341 releases (stable)

4.5.40 Jun 9, 2025
4.5.37 Apr 18, 2025
4.5.34 Mar 27, 2025
4.5.23 Dec 5, 2024
0.5.7 Mar 31, 2015

#6 in Command-line interface

Download history 4993319/week @ 2025-03-11 5293143/week @ 2025-03-18 4966444/week @ 2025-03-25 4883739/week @ 2025-04-01 5244791/week @ 2025-04-08 4589026/week @ 2025-04-15 4607247/week @ 2025-04-22 4384009/week @ 2025-04-29 4573266/week @ 2025-05-06 4857533/week @ 2025-05-13 4458830/week @ 2025-05-20 4347456/week @ 2025-05-27 4499338/week @ 2025-06-03 5189442/week @ 2025-06-10 5416446/week @ 2025-06-17 5098613/week @ 2025-06-24

21,012,367 downloads per month
Used in 37,217 crates (23,088 directly)

MIT/Apache

1MB
14K SLoC

clap

Command Line Argument Parser for Rust

Crates.io Crates.io License License Build Status Coverage Status Contributors

Dual-licensed under Apache 2.0 or MIT.

About

Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

For more details, see:

Sponsors

Gold

Silver

Bronze

Backer

Dependencies

~0–10MB
~110K SLoC

OSZAR »