Skip to content
The Little Book of Rust Macros
Rust Python CSS HTML
Branch: master
Clone or download
DanielKeep Fixed CSS for new rustbook.
Also changed font stack for text `pre>code` blocks to work around
whatever the hell was causing block-drawing characters to not align
Latest commit 5d9828b Apr 2, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
pkg Added tlborm macro crate package. Oct 26, 2015
static Fixed CSS for new rustbook. Apr 2, 2016
text Correct statments typo Mar 11, 2016
.gitignore Initial commit. Aug 17, 2015 Adds a link to the canonical rendered output. Apr 2, 2016 Fixed redirects. Oct 27, 2015
redirects.json Added redirects for old URLs. Oct 27, 2015

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.


  • A nicer CSS theme.
  • Parsing/expansion techniques and patterns.
  • Useful building blocks.
You can’t perform that action at this time.