aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/input.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-04Remove restrictions to named field structs (fixes #101)Libravatar Dirkjan Ochtman1-1/+1
2018-07-02Add some comments to TemplateInput::new() methodLibravatar Dirkjan Ochtman1-0/+14
2018-07-02Further simplify code to find parent fieldsLibravatar Dirkjan Ochtman1-12/+5
2018-07-02Reorder arms in match for better readabilityLibravatar Dirkjan Ochtman1-2/+2
2018-07-02Further improve matching source and ext in TemplateInputLibravatar Dirkjan Ochtman1-7/+5
2018-07-02Improve field type determinationLibravatar mash1-5/+12
2018-07-02Simplify escape mode determinationLibravatar mash1-20/+13
2018-07-02Determine path during source attribute checksLibravatar mash1-11/+6
2018-06-25Improve attribute handling code for efficiency and robustnessLibravatar Dirkjan Ochtman1-47/+57
2018-06-21Store parent field type in TemplateInputLibravatar Dirkjan Ochtman1-0/+15
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-8/+12
2018-06-21Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman1-23/+20
2018-06-21Let build_template() own the template sourceLibravatar Dirkjan Ochtman1-16/+8
2018-06-16Use struct name for inline templatesLibravatar Dirkjan Ochtman1-1/+1
2018-05-21Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman1-4/+2
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay1-1/+1
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.
2018-01-22Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman1-2/+2
2018-01-09Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman1-43/+43
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman1-2/+2
2017-11-07Improve error about unsupported annotation keyLibravatar Dirkjan Ochtman1-1/+1
2017-09-07Infer escaping mode based on template extensionLibravatar Dirkjan Ochtman1-3/+21
2017-09-07Refactor creation of TemplateMeta valueLibravatar Dirkjan Ochtman1-13/+9
2017-09-07Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman1-4/+8
2017-09-06Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman1-1/+1
2017-09-06Allow setting an extension with source attributesLibravatar Dirkjan Ochtman1-2/+22
2017-09-06Make path and source attributes mutually exclusiveLibravatar Dirkjan Ochtman1-0/+6
2017-09-05Refactor type handling for attribute parametersLibravatar Dirkjan Ochtman1-8/+8
2017-09-05Introduce attribute parameter to disable escapingLibravatar Dirkjan Ochtman1-1/+25
2017-09-05Move TemplateInput and related code into separate moduleLibravatar Dirkjan Ochtman1-55/+8
2017-09-05Create new TemplateInput abstractionLibravatar Dirkjan Ochtman1-13/+27
2017-09-05Create better abstraction around TemplateMeta typeLibravatar Dirkjan Ochtman1-48/+48
2017-09-05Pass AST to code generator as referenceLibravatar Dirkjan Ochtman1-1/+1
2017-09-05Move tightly coupled code from derive to shared crateLibravatar Dirkjan Ochtman1-2/+111
2017-09-04Escape all strings with character entities by default (fixes #23)Libravatar Dirkjan Ochtman1-0/+1
2017-09-04Move escaping algorithm into a separate moduleLibravatar Dirkjan Ochtman1-0/+1
2017-08-29Export Error typeLibravatar Anthony Nowell1-1/+1
2017-08-27Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman1-0/+29
This makes it possible to share code between askama and askama_derive.