#macro #proc #proc-macro #macro-derive #arguments #parser #pareg

macro pareg_proc

This library contains proc macros for the pareg library

4 releases (2 breaking)

new 0.3.0 Apr 19, 2024
0.2.0 Apr 19, 2024
0.1.1 Apr 18, 2024
0.1.0 Apr 18, 2024

#813 in Procedural macros

Download history 250/week @ 2024-04-15

250 downloads per month
Used in pareg

Custom license

33KB
466 lines

pareg

crates.io donwloads

Helpful utilities for parsing command line arguments.

Currently this crate doesn't contain any magic derive macro that would generate code that parses your arguments. There are many ways that arguments may be used and so there are only helper functions, traits and structures that help with the parsing in a more manual way. (But there may be such derive macro in the future.)

How to use it

Documentation and examples are available at the docs.

How to get it

It is available on crates.io:

With cargo

cargo add pareg

In Cargo.toml

[dependencies]
pareg = "0.1.0"

Dependencies

~315–780KB
~18K SLoC