A base cargo generate
template for building a
procedural macro project crate.
- Install cargo-generate:
cargo install cargo-generate
- Generate your procedural macro crate project:
cargo generate --git https://github.com/eupn/rust-procmacro-quickstart-template --name projectname
- Run generated template project:
cd projectname
cargo build
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.