#clap #cli #parse #derive #proc-macro

macro clap_derive

Parse command line argument by defining a struct, derive crate

58 releases (stable)

new 4.1.12 Mar 23, 2023
4.1.8 Feb 28, 2023
4.0.21 Nov 7, 2022
3.2.18 Aug 29, 2022
3.0.0-beta.1 May 3, 2020

#55 in Procedural macros

Download history 574066/week @ 2022-12-04 563916/week @ 2022-12-11 517732/week @ 2022-12-18 315388/week @ 2022-12-25 479970/week @ 2023-01-01 613405/week @ 2023-01-08 620658/week @ 2023-01-15 647326/week @ 2023-01-22 681968/week @ 2023-01-29 657602/week @ 2023-02-05 673590/week @ 2023-02-12 655428/week @ 2023-02-19 719699/week @ 2023-02-26 770631/week @ 2023-03-05 780228/week @ 2023-03-12 961280/week @ 2023-03-19

3,295,351 downloads per month
Used in 5,203 crates (32 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

~0.7–1MB
~26K SLoC