Skip to content

james-jra/rust_derive_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Experiment: Derive Procedural Macro

This repository contains some simple experimentation with Rust trait derivation using procedural macros.

Procedural macros are a fast-changing area in Rust. However, as of Nov 2018, this represents a current standard approach for implementing procedural macros.

Resources

Further guidance and examples can be found in the following:

TODO

  • More complex derives
  • Try derive on a generic struct.
  • Testing
    • Tests for example_lib
    • Compilation tests for example_derive
    • Expansion tests for example_derive

About

Testing procedural macros in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages