The Little Book of Rust Macros

Note: this is a work in progress.

This book is an attempt to distil the Rust community's collective knowledge of Rust macros. As such, both additions (in the form of pull requests) and requests (in the form of issues) are welcome.

If you wish to contribute, see the GitHub repository.

Thanks to the following for suggestions and corrections: IcyFoxy, Rym, TheMicroWorm, Yurume, akavel, cmr, eddyb, ogham, and snake_case.

This work is licensed under both the Creative Commons Attribution-ShareAlike 4.0 International License and the MIT license.