A quick example of how to implement custom derives using procedural macros in Rust
-
Updated
Mar 1, 2019 - Rust
A quick example of how to implement custom derives using procedural macros in Rust
JSX like syntax parser in Rust
Procedural macros that generate implementations for structs to be easily converted to/from arrays and slices
Procedural macros for deriving Debug, Display and FromStr for types that implement serde's Serialize and Deserialize
A custom attribute to simplify the module facade pattern in Rust (nightly)
Procedural attribute macro to specify enum variants to be used when deriving the trait `Default`
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.
Acme aims to be a complete auto differentiation system written in Rust.
Builder trait extensions for creating `syn` structures and enums for generating Rust code
A presentation on procedural macros in Rust
boiler-template code generator in DDD
Derive IntoCDRSValue for Cassandra User Defined Types.
[stable] Macro for embedding (trees, strings, arrays) into macro trees directly from files.
This is a simple project in rust, about procedural macros
Add a description, image, and links to the procedural-macros topic page so that developers can more easily learn about it.
To associate your repository with the procedural-macros topic, visit your repo's landing page and select "manage topics."