đ˘New in MEAPđ˘
Supercharge your Rustlang code with macrosâthe real power tools of Rust!
Rust Power Tools by Sam Van Overmeire will help you push Rust to its full potential: http://mng.bz/8rjz
Rust Power Tools
Supercharge your code with macrosâthe real power tools of the Rust programming language!</b> Macros are instructions to generate new Rust code at compile-time, saving you hours of tedious code writing. The top Rust developers have built macros into everything from the standard library to crates. Now you can learn how these amazing âpower toolsâ will help you push Rust to its full potential. This hands-on guide takes you from the absolute basics to advanced macro techniques. Inside Rust Power Tools</i> youâll discover: Writing declarative macros</li> Procedural macros</li> Reading and debugging macro code</li> Improving the type system with newtypes and zero-sized types</li> How common Rust libraries use macros</li> </ul> Rust Power Tools</i> teaches you how to write, test, debug, and publish macros for Rust. Itâs perfect for Rust practitioners who want to master this powerful development technique. In this unique book, youâll explore Rust macros through interesting and engaging examples, including automatically generating a âbuilderâ and composing a DSL for writing Infrastructure as Code.
