Uses new Rust 2021
|0.2.1||May 27, 2022|
|0.2.0||May 12, 2022|
|0.1.0||May 11, 2022|
|0.0.1||May 11, 2022|
|0.0.0||May 10, 2022|
#485 in Rust patterns
144 downloads per month
Macros to make writing proc-macro crates easy.
This crate provides mainly macros and supporting types and traits
to reduce amount of boilerplate required for working with
Currently most of the macros are targeted to construct types that then can be parses to configure proc-macro and proc-derive-macro implementation.
easy_token! - defines new custom token from ident. To be used in other structs.
easy_parse! - defines struct or enum that can be parsed and peeked from stream.
easy_argument! - defines struct with a token as a name and the rest to be parsed as-is.
easy_argument_group! - defines a group of arguments as enum of arguments.
Licensed under either of
- Apache License, Version 2.0, (license/APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (license/MIT or http://opensource.org/licenses/MIT)
at your option.
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.