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

#113 in #arg

Download history 22/week @ 2024-11-22 15/week @ 2024-11-29 18/week @ 2024-12-06 18/week @ 2024-12-13 2/week @ 2024-12-20 1/week @ 2025-01-03 15/week @ 2025-01-10 54/week @ 2025-01-17 42/week @ 2025-01-24 116/week @ 2025-01-31 46/week @ 2025-02-07 132/week @ 2025-02-14 75/week @ 2025-02-21 90/week @ 2025-02-28 69/week @ 2025-03-07

388 downloads per month
Used in 4 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

~2MB
~37K SLoC