/tlborm

The Little Book of Rust Macros

Primary LanguageRust

The Little Book of Rust Macros

Note: this is a work in progress.

View the canonical, rendered version.

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.

Wanted

  • A nicer CSS theme.
  • Parsing/expansion techniques and patterns.
  • Useful building blocks.