#clap #proc-macro #derive #parse #parser #command-line-arguments #cli

macro clap_derive

Parse command line argument by defining a struct, derive crate

72 releases (stable)

4.5.4 Mar 25, 2024
4.5.0 Feb 8, 2024
4.4.7 Oct 24, 2023
4.3.12 Jul 14, 2023
3.0.0-beta.1 May 3, 2020

#66 in Procedural macros

Download history 1101784/week @ 2024-01-03 1171084/week @ 2024-01-10 1337550/week @ 2024-01-17 1332165/week @ 2024-01-24 1429151/week @ 2024-01-31 1429642/week @ 2024-02-07 1416394/week @ 2024-02-14 1462227/week @ 2024-02-21 1530517/week @ 2024-02-28 1478851/week @ 2024-03-06 1524598/week @ 2024-03-13 1581420/week @ 2024-03-20 1495577/week @ 2024-03-27 1580690/week @ 2024-04-03 1553335/week @ 2024-04-10 1276011/week @ 2024-04-17

6,203,016 downloads per month
Used in 10,665 crates (54 directly)

MIT/Apache

150KB
3.5K SLoC

clap_derive

Macro implementation for clap's derives.

docs.rs

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING for more details.

Dependencies

~335–790KB
~19K SLoC