aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Flatten inherited blocks for code generationLibravatar Dirkjan Ochtman2018-06-212-140/+127
|
* Store parent field type in TemplateInputLibravatar Dirkjan Ochtman2018-06-212-17/+19
|
* Store extends path in ContextLibravatar Dirkjan Ochtman2018-06-212-15/+14
|
* Clean up clippy suggestionsLibravatar Dirkjan Ochtman2018-06-212-41/+41
|
* Use Contexts to keep per-template stateLibravatar Dirkjan Ochtman2018-06-212-111/+153
|
* Store TemplateInput in GeneratorLibravatar Dirkjan Ochtman2018-06-211-45/+35
|
* Get rid of Generator::default() methodLibravatar Dirkjan Ochtman2018-06-211-5/+1
|
* Rename State/state to Context/ctx in code generatorLibravatar Dirkjan Ochtman2018-06-211-70/+70
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-213-91/+157
|
* Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman2018-06-213-27/+24
|
* Let build_template() own the template sourceLibravatar Dirkjan Ochtman2018-06-212-18/+17
|
* Rename variable for consistencyLibravatar Dirkjan Ochtman2018-06-211-5/+5
|
* Use struct name for inline templatesLibravatar Dirkjan Ochtman2018-06-161-1/+1
|
* Restrict use of macro/import/extend nodes to the top levelLibravatar Dirkjan Ochtman2018-06-161-4/+4
|
* Move code around to enforce structureLibravatar Dirkjan Ochtman2018-06-161-18/+18
|
* Explicitly keep track of sources and ASTsLibravatar Dirkjan Ochtman2018-06-151-6/+9
|
* Handle imports as part of code generationLibravatar Dirkjan Ochtman2018-06-152-45/+17
|
* Set up State contents in generate() to prevent borrowing issuesLibravatar Dirkjan Ochtman2018-06-151-64/+57
|
* Port parser to nom 4Libravatar Dirkjan Ochtman2018-06-151-67/+79
|
* Leverage binding modes to make pattern matching more robust (fixes #94)Libravatar Dirkjan Ochtman2018-06-141-11/+5
|
* Simplify code according to clippy suggestionsLibravatar Dirkjan Ochtman2018-05-271-6/+3
|
* Allow methods to be called on selfLibravatar Dirkjan Ochtman2018-05-271-1/+6
|
* Simplify generated code by propagating final expressionsLibravatar Dirkjan Ochtman2018-05-251-5/+4
|
* Extract path rooting to simplify trait_name_for_path()Libravatar Dirkjan Ochtman2018-05-251-8/+8
|
* Simplify types in generator State creationLibravatar Dirkjan Ochtman2018-05-251-10/+10
|
* Rename lifetime to 'askama to prevent conflicts (fixes #88)Libravatar Dirkjan Ochtman2018-05-241-3/+3
|
* Fix lifetime arguments to Rocket impls (fixes #89)Libravatar Dirkjan Ochtman2018-05-241-1/+1
| | | | Broken during the upgrade to syn-0.14/quote-0.6.
* Warn about blocks that are nested inside something other than blocksLibravatar Dirkjan Ochtman2018-05-211-1/+6
|
* Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman2018-05-213-22/+23
|
* Add support for nested blocks (fixes #85)Libravatar Dirkjan Ochtman2018-05-201-4/+32
|
* Fix suggestions from clippyLibravatar Dirkjan Ochtman2018-05-161-5/+4
|
* Fix copy/paste error in whitespace handlingLibravatar Dirkjan Ochtman2018-05-141-2/+2
|
* Add support for unary operators (fixes #83)Libravatar Dirkjan Ochtman2018-04-272-1/+18
|
* Fix issues with expression code interleaving with statements (see #78)Libravatar Dirkjan Ochtman2018-04-191-20/+16
|
* Properly handle whitespace around comments (fixes #79)Libravatar Dirkjan Ochtman2018-04-172-4/+11
|
* Name function call expressions before passing as an argument (fixes #78)Libravatar Dirkjan Ochtman2018-04-171-13/+26
|
* Use a temporary buffer to build expressionsLibravatar Dirkjan Ochtman2018-04-171-88/+104
|
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-124-1/+1858
| | | | | | | | | 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-274-1283/+5
| | | | This makes it possible to share code between askama and askama_derive.
* Use block implementations in parent as defaults in traitLibravatar Dirkjan Ochtman2017-08-251-11/+3
|
* Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel2017-08-241-0/+1
| | | | This makes converting an app from tera to askama easier.
* Add support for user-defined filtersLibravatar Dirkjan Ochtman2017-08-241-1/+15
|
* Add optional support for RocketLibravatar Dirkjan Ochtman2017-08-231-0/+24
|
* Allow passing extra annotation parameters to impl headersLibravatar Dirkjan Ochtman2017-08-231-13/+28
|
* Optionally implement Iron's Modifier<Response> for templatesLibravatar Dirkjan Ochtman2017-08-231-0/+12
|
* Add support for calling macrosLibravatar Dirkjan Ochtman2017-08-222-13/+44
|
* Refactor parser handling of argumentsLibravatar Dirkjan Ochtman2017-08-221-21/+19
|
* Implement support for macro definition handlingLibravatar Dirkjan Ochtman2017-08-222-8/+59
|