mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 21:12:54 +00:00

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.
264 B
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.