René Kijewski 1ce549d260 derive: add benchmark
This PR adds the crate "rinja_derive_standalone", which is just like
"rinja_derive", though not a "proc_macro". This way we can easily expose
it's internals for testing and benchmarking.

Right now, the PR is more or less a prove of concept, and it probably
needs a handful more useful benchmark use cases to be worth the hassle.
2024-06-22 02:49:01 +02:00

264 B

This crate embeds the source of rinja_derive, but is not a proc_macro. This way we can more easily access the internals of the crate.

To run the benchmark, execute cargo bench in this folder, or cargo bench -p rinja_derive_standalone in the project root.