8 releases

0.2.0-alpha.8 Jul 14, 2024
0.2.0-alpha.6 Dec 20, 2021
0.2.0-alpha.3 Nov 6, 2021
0.2.0-alpha.2 Aug 12, 2021
0.1.7 May 30, 2021

#75 in #reflection

Download history 13/week @ 2024-07-19 83/week @ 2024-07-26 5/week @ 2024-08-02 1/week @ 2024-08-23 3/week @ 2024-08-30 17/week @ 2024-09-13 8/week @ 2024-09-20 16/week @ 2024-09-27 4/week @ 2024-10-04

310 downloads per month

MIT license

43KB
1K SLoC

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

~1.4–2MB
~39K SLoC