#parser #arguments #traits #macro-derive #command-line-arguments #pareg

pareg_core

This library contains the implementation 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

#1882 in Procedural macros

Download history 254/week @ 2024-04-15

254 downloads per month
Used in 2 crates

Custom license

29KB
462 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