proc-macro-workshop

Macro tutorial

Rust procedural macro tutorial project with examples of attribute macros, derive macros, and function-like macros.

Learn to write Rust procedural macros  [Rust Latam conference, Montevideo Uruguay, March 2019]

GitHub

4k stars
38 watching
1k forks
Language: Rust
last commit: 10 days ago

Related projects:

Repository Description Stars
tfpk/macrokata A set of exercises to learn how to write macros in Rust. 1,086
tokio-rs/prost A Rust implementation of Protocol Buffers for generating idiomatic and readable code from proto2 and proto3 files. 4,001
not-fl3/macroquad A cross-platform game engine with Rust support for building 2D games and interactive applications. 3,424
ebtech/rust-algorithms A collection of classic data structures and algorithms in Rust, showcasing the design and implementation for learning and reference purposes. 3,778
rust-embedded/rust-raspberrypi-os-tutorials A tutorial series for developing operating systems from scratch using Rust on ARMv8-A architecture 13,770
rust-lang/rustlings A collection of small exercises to help developers learn Rust programming language by reading and writing code. 55,016
lambda-fairy/maud A macro-based Rust template engine for generating specialized code from HTML templates 2,162
nrc/r4cppp A tutorial designed to help experienced C and C++ programmers quickly learn Rust programming. 3,666
tylerwince/godbg Provides a debugging macro for Go, similar to Rust's dbg macro 202
dtolnay/cargo-expand A command-line tool that shows the result of macro expansion and derive code generation in Rust projects 2,718
stebalien/horrorshow-rs A macro-based HTML templating library for Rust 326
rust-unofficial/patterns An online reference catalog for Rust design patterns and idioms 8,178
ctjhoa/rust-learning A curated collection of links and resources for learning Rust 11,599
rust-lang/rust Empowering software developers to build reliable and efficient software using a fast and memory-efficient language with strong type safety and comprehensive tooling. 99,490
ralfbiedert/cheats.rs A comprehensive reference guide for the Rust programming language 4,177