11 releases

0.4.1 Jan 25, 2023
0.4.0 Dec 31, 2022
0.3.5 Dec 14, 2022
0.3.4 Apr 10, 2021
0.2.0 Oct 24, 2019

#104 in #arg

Download history 39/week @ 2024-01-01 59/week @ 2024-01-08 28/week @ 2024-01-15 2/week @ 2024-01-29 48/week @ 2024-02-19 24/week @ 2024-02-26 17/week @ 2024-03-04 34/week @ 2024-03-11 30/week @ 2024-03-18 95/week @ 2024-03-25 133/week @ 2024-04-01 62/week @ 2024-04-08 62/week @ 2024-04-15

354 downloads per month
Used in 3 crates (via arg)

Apache-2.0

35KB
656 lines

arg

Actions Status Crates.io Documentation

Very simple code generator for command line argument parsing.

No dependencies except proc macro (with its dependencies) used at build time.

Features

  • std - Enables utilities that require std library.

Debug

Set env variable ARG_RS_PRINT_PARSER to any value except 0 or false to print parser result


lib.rs:

Command line argument parser derive

Dependencies

~1.5MB
~35K SLoC