aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/derive.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge derive.rs into generator.rsLibravatar René Kijewski2022-03-231-106/+0
|
* Un-"pub" most of askama_shared's internalsLibravatar René Kijewski2022-03-231-0/+1
| | | | | Previously askama_shared exported most of it's internals, so askama_derive could use them. This is not needed anymore.
* Reduce askama_derive to a single re-exportLibravatar René Kijewski2022-03-231-0/+105
All the hard work in askama_derive was actually done in askama_shared. This PR removes the back-and-forth interaction between the two crates. Now askama_derive is a single re-export of `#[derive(Template)]` which has to be done in a proc_macro crate. This most likely means that askama_derive is "final", unless another derive template needs to be introduced in the future.