aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-121-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.4Libravatar Dirkjan Ochtman2018-01-091-3/+3
|
* Move tightly coupled code from derive to shared crateLibravatar Dirkjan Ochtman2017-09-051-111/+1
|
* Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman2017-08-271-11/+5
| | | | This makes it possible to share code between askama and askama_derive.
* Support specifying template source as an attributeLibravatar Dirkjan Ochtman2017-08-161-11/+29
|
* Pass path to code generation as PathLibravatar Dirkjan Ochtman2017-08-161-1/+3
|
* Use reference into AST for template path instead of cloningLibravatar Dirkjan Ochtman2017-08-161-4/+4
|
* Use enum for print option valueLibravatar Dirkjan Ochtman2017-08-161-5/+26
|
* Reorganize code order in askama_derive modulesLibravatar Dirkjan Ochtman2017-08-081-34/+34
|
* Use one way of finding templates on the pathLibravatar Dirkjan Ochtman2017-08-061-1/+2
|
* Merge handling of trailing newline into get_template_source()Libravatar Dirkjan Ochtman2017-08-061-4/+1
|
* Copy type parameters and where clauses (fixes #11)Libravatar Dirkjan Ochtman2017-03-081-0/+1
|
* Panic with better message if template attribute is not found (fixes #3)Libravatar Dirkjan Ochtman2017-03-071-1/+8
|
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-061-2/+71
|
* Move template metadata processing into askama crateLibravatar Dirkjan Ochtman2017-02-171-31/+1
|
* Define struct to represent template metadataLibravatar Dirkjan Ochtman2017-02-171-9/+23
|
* Simplify derive_template() functionLibravatar Dirkjan Ochtman2017-02-081-5/+2
|
* Simplify code to find template pathLibravatar Dirkjan Ochtman2017-02-081-23/+10
|
* Expose less granular API in askama crateLibravatar Dirkjan Ochtman2017-02-081-17/+1
|
* Generate path-based type aliasesLibravatar Dirkjan Ochtman2017-02-051-1/+1
|
* Improve name and ownership of AST vectorLibravatar Dirkjan Ochtman2017-02-051-2/+2
|
* Pass entire AST to code generatorLibravatar Dirkjan Ochtman2017-02-041-2/+1
|
* Upgrade to syn-0.11Libravatar Dirkjan Ochtman2017-02-041-1/+1
|
* Remove unneeded feature(proc_macro) annotationLibravatar Dirkjan Ochtman2017-02-021-2/+0
|
* Move parser and generator code into askama crateLibravatar Dirkjan Ochtman2017-01-071-7/+3
|
* Get rid of unused quote dependencyLibravatar Dirkjan Ochtman2017-01-071-2/+0
|
* Rename askama_codegen to askama_deriveLibravatar Dirkjan Ochtman2017-01-031-0/+72
This appears to be best practice for crates using macros 1.1.