Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only pass path to context | mash | 2018-07-02 | 1 | -5/+5 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-22 | 1 | -4/+6 |
| | |||||
* | Flatten inherited blocks for code generation | Dirkjan Ochtman | 2018-06-21 | 1 | -21/+10 |
| | |||||
* | Store extends path in Context | Dirkjan Ochtman | 2018-06-21 | 1 | -12/+11 |
| | |||||
* | Use Contexts to keep per-template state | Dirkjan Ochtman | 2018-06-21 | 1 | -5/+127 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-21 | 1 | -2/+2 |
| | |||||
* | Inline TemplateMeta into TemplateInput | Dirkjan Ochtman | 2018-06-21 | 1 | -3/+3 |
| | |||||
* | Let build_template() own the template source | Dirkjan Ochtman | 2018-06-21 | 1 | -2/+9 |
| | |||||
* | Rename variable for consistency | Dirkjan Ochtman | 2018-06-21 | 1 | -5/+5 |
| | |||||
* | Handle imports as part of code generation | Dirkjan Ochtman | 2018-06-15 | 1 | -41/+1 |
| | |||||
* | Upgrade to syn-0.14 and quote-0.6 | Dirkjan Ochtman | 2018-05-21 | 1 | -1/+1 |
| | |||||
* | Isolate proc-macro dependency to the proc macro | David Tolnay | 2018-04-12 | 1 | -1/+71 |
| | | | | | | | | | The dependency of askama on askama_shared on syn on libproc_macro used to mean libproc_macro would be dynamically linked into any crate using askama. We want only askama_derive to have a runtime dependency on proc macro. This commit moves all proc macro code from askama_shared into askama_derive so that the askama crate no longer dynamically links libproc_macro. | ||||
* | Upgrade to syn-0.12 and quote-0.4 | Dirkjan Ochtman | 2018-01-09 | 1 | -3/+3 |
| | |||||
* | Move tightly coupled code from derive to shared crate | Dirkjan Ochtman | 2017-09-05 | 1 | -111/+1 |
| | |||||
* | Move most of the code into new askama_shared crate | Dirkjan Ochtman | 2017-08-27 | 1 | -11/+5 |
| | | | | This makes it possible to share code between askama and askama_derive. | ||||
* | Support specifying template source as an attribute | Dirkjan Ochtman | 2017-08-16 | 1 | -11/+29 |
| | |||||
* | Pass path to code generation as Path | Dirkjan Ochtman | 2017-08-16 | 1 | -1/+3 |
| | |||||
* | Use reference into AST for template path instead of cloning | Dirkjan Ochtman | 2017-08-16 | 1 | -4/+4 |
| | |||||
* | Use enum for print option value | Dirkjan Ochtman | 2017-08-16 | 1 | -5/+26 |
| | |||||
* | Reorganize code order in askama_derive modules | Dirkjan Ochtman | 2017-08-08 | 1 | -34/+34 |
| | |||||
* | Use one way of finding templates on the path | Dirkjan Ochtman | 2017-08-06 | 1 | -1/+2 |
| | |||||
* | Merge handling of trailing newline into get_template_source() | Dirkjan Ochtman | 2017-08-06 | 1 | -4/+1 |
| | |||||
* | Copy type parameters and where clauses (fixes #11) | Dirkjan Ochtman | 2017-03-08 | 1 | -0/+1 |
| | |||||
* | Panic with better message if template attribute is not found (fixes #3) | Dirkjan Ochtman | 2017-03-07 | 1 | -1/+8 |
| | |||||
* | Hide askama_derive dependency inside askama (fixes #2) | Dirkjan Ochtman | 2017-03-06 | 1 | -2/+71 |
| | |||||
* | Move template metadata processing into askama crate | Dirkjan Ochtman | 2017-02-17 | 1 | -31/+1 |
| | |||||
* | Define struct to represent template metadata | Dirkjan Ochtman | 2017-02-17 | 1 | -9/+23 |
| | |||||
* | Simplify derive_template() function | Dirkjan Ochtman | 2017-02-08 | 1 | -5/+2 |
| | |||||
* | Simplify code to find template path | Dirkjan Ochtman | 2017-02-08 | 1 | -23/+10 |
| | |||||
* | Expose less granular API in askama crate | Dirkjan Ochtman | 2017-02-08 | 1 | -17/+1 |
| | |||||
* | Generate path-based type aliases | Dirkjan Ochtman | 2017-02-05 | 1 | -1/+1 |
| | |||||
* | Improve name and ownership of AST vector | Dirkjan Ochtman | 2017-02-05 | 1 | -2/+2 |
| | |||||
* | Pass entire AST to code generator | Dirkjan Ochtman | 2017-02-04 | 1 | -2/+1 |
| | |||||
* | Upgrade to syn-0.11 | Dirkjan Ochtman | 2017-02-04 | 1 | -1/+1 |
| | |||||
* | Remove unneeded feature(proc_macro) annotation | Dirkjan Ochtman | 2017-02-02 | 1 | -2/+0 |
| | |||||
* | Move parser and generator code into askama crate | Dirkjan Ochtman | 2017-01-07 | 1 | -7/+3 |
| | |||||
* | Get rid of unused quote dependency | Dirkjan Ochtman | 2017-01-07 | 1 | -2/+0 |
| | |||||
* | Rename askama_codegen to askama_derive | Dirkjan Ochtman | 2017-01-03 | 1 | -0/+72 |
This appears to be best practice for crates using macros 1.1. |