14 releases

0.4.4 Aug 10, 2024
0.4.1 Jan 25, 2023
0.4.0 Dec 31, 2022
0.3.4 Apr 10, 2021
0.2.0 Oct 24, 2019

#102 in #arg

Download history 27/week @ 2024-07-27 20/week @ 2024-08-03 363/week @ 2024-08-10 45/week @ 2024-08-17 14/week @ 2024-08-24 43/week @ 2024-08-31 25/week @ 2024-09-07 55/week @ 2024-09-14 63/week @ 2024-09-21 32/week @ 2024-09-28 10/week @ 2024-10-05 50/week @ 2024-10-12 10/week @ 2024-10-19 1/week @ 2024-10-26 33/week @ 2024-11-02 5/week @ 2024-11-09

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

Apache-2.0

37KB
675 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.4–2MB
~36K SLoC