proc-macro
There are 156 repositories under proc-macro topic.
dtolnay/syn
Parser for Rust source code
dtolnay/quote
Rust quasi-quoting
TedDriggs/darling
A Rust proc-macro attribute parser
taiki-e/pin-project
A crate for safe and ergonomic pin-projection.
taiki-e/auto_enums
A library for to allow multiple return types by automatically generated enum.
dtolnay/proc-macro-hack
Procedural macros in expression position
ct-austin/ifmt
Inline expression interpolation for Rust.
elichai/log-derive
A procedural macro for auto logging output of functions
udoprog/genco
A whitespace-aware quasiquoter for beautiful code generation.
taiki-e/futures-async-stream
Async stream for Rust and the futures crate.
eugene-babichenko/rust-fsm
Finite state machine framework for Rust with readable specifications
fMeow/maybe-async-rs
A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates
parker-codes/todo_by
Compile-time lifetimes for comments.
rs-tml/rstml
Rust+html (JSX-like) parser for TokenStreams aka rsx
sigp/superstruct
Rust library for versioned data types
hobofan/reacty_yew
Generate Yew components from React components via Typescript type definitions
bastion-rs/fort
Proc macro attributes for Bastion runtime.
4lDO2/real-async-trait-rs
A proc macro for real async traits, using nightly-only existential types and generic associated types to work around the need for type erasure
kelpsyberry/proc-bitfield
A Rust crate to expressively declare bitfield-like structs
sokomishalov/lombok-rs
Lombok port for Rust
taiki-e/easy-ext
A lightweight attribute macro for easily writing extension trait pattern.
LukasKalbertodt/litrs
Parsing and inspecting Rust literals (particularly useful for proc macros)
sam0x17/macro_magic
A collection of Rust proc macros that allow the exporting and importing of TokenStream2s of items in foreign contexts and files
TedDriggs/field_names
proc-macro for accessing struct field names at runtime
jakobhellermann/cargo-watt
cargo subcommand for building proc-macro crates with web assembly
taiki-e/derive_utils
A procedural macro helper for easily writing custom derives for enums.
termoshtt/einsum-derive
Proc-macro based einsum implementation for rust-ndarray
fuzzypixelz/absolut
Autogenerated Bytewise SIMD-Optimized Look-Up Tables
WilliamVenner/inline-rust
A cursed macro that compiles and executes Rust and spits the output directly into your Rust code
SOF3/portrait
Trait-agnostic derive macros
taiki-e/const_fn
A lightweight attribute for easy generation of const functions with conditional compilations.
azriel91/enum_variant_type
Proc macro derive to generate structs from enum variants.
Goncalerta/proc-quote
A procedural macro implementation of `quote!`.
taiki-e/syn-serde
Library to serialize and deserialize Syn syntax trees.
azriel91/proc_macro_roids
Traits and functions to make writing proc macros more ergonomic.
sam0x17/docify
Allows for dynamic compile-time embedding of existing tests and examples in your Rust doc comments and markdown files