#proc-macro #cargo #template #straight-forward #workspace #kickstart

app cargo-proc-macro

Kickstart a proc-macro project with a straight-forward template

2 unstable releases

0.2.0 Aug 8, 2021
0.1.3 Aug 2, 2020
0.1.2 Aug 2, 2020
0.1.1 Aug 2, 2020
0.1.0 Jul 24, 2020

#518 in Cargo plugins

EUPL-1.2+

21KB
529 lines

cargo proc-macro

Kickstart a proc-macro project with a straight-forward template.

This crate will kickstart you with a workspace, with a proc-macro2- and syn-enabled crate that compiles straight away with a simple pass-through attribute macro.

Install

cargo install cargo-proc-macro

Usage

To create a new proc-macro project, run cargo proc-macro new <path> or cargo proc-macro init [path].

See --help for other supported flags.

License

The cargo-proc-macro crate is licensed under

The EUPL is a copyleft, GPL-compatible license managed by the European Union, with legally-equal translated versions in all languages of the EU. See this introduction for information about the purpose, objectives and translations of the license. See also the license compatibility matrix.

Dependencies

~1–9MB
~71K SLoC