procedural-macros
There are 31 repositories under procedural-macros topic.
tylerreisinger/cache-macro
A procedural attribute macro to automatically cache the results of a function call with given args.
vidhanio/html-node
HTML nodes in Rust.
Lymia/derive_setters
A procedural macro that automatically generates setter methods for a struct's fields.
zmitchell/wickerman
Learn Rust procedural macros with Nic Cage
iddm/introspection
A rust introspection procedural macro.
koivunej/derive-into-owned
Procedural macro for deriving helper methods for types with Cow fields
swerdloj/surreal
Rust GUI library using wgpu-rs. Originated as research project examining declarative user interfaces.
iddm/unique-type-id
A procedural macro for generating unique ids for rust types
jofas/display_json
Procedural macros for deriving Debug, Display and FromStr for types that implement serde's Serialize and Deserialize
mcilloni/proc-macro-sample
A quick example of how to implement custom derives using procedural macros in Rust
CeNiEi/on_your_marks
Primitive getters and setters for Rust structs
yunjhongwu/strong-type
Procedural macros for naming and strong-typing pritimives and strings in Rust
fin-ger/declarative-state-machine
An approach to create state machines in rust in a declarative way
FL03/rsdiff
rsdiff aims to be a complete auto differentiation system written in Rust.
abiriadev/tup
Helper macro for rust tuple
Attica-oss/dax-rust
Parse DAX in rust basic implementation
jturner314/struct_array
Procedural macros that generate implementations for structs to be easily converted to/from arrays and slices
AlexPikalov/into-cdrs-value-derive
Derive IntoCDRSValue for Cassandra User Defined Types.
andrewlowndes/syn_builder
Builder trait extensions for creating `syn` structures and enums for generating Rust code
clucompany/include_tt
[stable] Macro for embedding (trees, strings, arrays) into macro trees directly from files.
mindsbackyard/facade_attr
A custom attribute to simplify the module facade pattern in Rust (nightly)
tonis2/cig
JSX like syntax parser in Rust
lctr/default_variant
Procedural attribute macro to specify enum variants to be used when deriving the trait `Default`
turtton/vodca
boiler-plate code generator in DDD
bujosa/alasia
This is a simple project in rust, about procedural macros
bujosa/hydrogen-labs
Create a Rust procedural macro that reads a JSON file and generates Rust functions based on its contents. The challenge is dynamically creating Rust functions at compile time, based on the names specified in a JSON file. This should take you 1-3 hours to complete.
dlamei/macro_scope
Workaround for global state in proc_macros
fifth-postulate/procedural-macros
A presentation on procedural macros in Rust
George-lewis/inbetween
A small macro for testing bounds
mod7ex/rust-procedural-macros-workshop
Answers of the proc macro workshop by David Tolnay