Getting Started
Rust procedural macros must be part of their own crate. The reason is that the crate is used as a plugin by the compiler. It is necesserary to indicate to cargo that the crate will contains procedural macros by adding the following to the Cargo.toml file:
[lib]
proc-macro = true