#proc-macro #arguments-parser #clap #cli-parser #derive

macro clap_derive

Parse command line argument by defining a struct, derive crate

80 releases (stable)

4.5.32 Mar 10, 2025
4.5.24 Jan 7, 2025
4.5.18 Sep 20, 2024
4.5.13 Jul 31, 2024
3.0.0-beta.1 May 3, 2020

#67 in Procedural macros

Download history 1245610/week @ 2024-12-27 2291231/week @ 2025-01-03 2634698/week @ 2025-01-10 2377097/week @ 2025-01-17 2422480/week @ 2025-01-24 2711929/week @ 2025-01-31 2919717/week @ 2025-02-07 2780727/week @ 2025-02-14 3001319/week @ 2025-02-21 3136307/week @ 2025-02-28 3389113/week @ 2025-03-07 3505378/week @ 2025-03-14 3951031/week @ 2025-03-21 3142867/week @ 2025-03-28 3328480/week @ 2025-04-04 3100440/week @ 2025-04-11

14,189,708 downloads per month
Used in 16,276 crates (101 directly)

MIT/Apache

165KB
4K 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.2–0.8MB
~19K SLoC