#reflection #compile-time #derive #jit-compiler #generated #procedural #static-reflect

static-reflect-derive-internals

The internal implementation of procedural derive for static-reflect

2 unstable releases

0.2.0-alpha.1 Aug 6, 2021
0.1.0 Apr 20, 2021

#41 in #jit-compiler

23 downloads per month
Used in static-reflect-derive

MIT license

40KB
928 lines

rust-static-reflect

Compile-time reflection in rust!

The original use case is type-checking generated code in a JIT compiler (with zero runtime cost). However, other use cases are certainly possible :)

Contributions are welcome! I'd be happy to add more features as long as they align with the general philosophy of compile-time reflection.

Unfortunately, there is very little documentation right now. Hopefully that will change in the future.

Dependencies

~3MB
~57K SLoC