aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-12make `Template::extension()` staticLibravatar Yusuke Sasaki1-1/+1
It is useful for calculating the media type without instantiating the context value.
2018-10-08Bump version to 0.7.2Libravatar Dirkjan Ochtman1-2/+2
2018-10-08Fix formattingLibravatar Dirkjan Ochtman1-1/+1
2018-10-07Add Rust macro support at templatesLibravatar bott2-2/+23
2018-10-07Improve variable name to better reflect its typeLibravatar Dirkjan Ochtman1-2/+2
2018-10-07Handle syntax validation during Config instantiationLibravatar Dirkjan Ochtman1-20/+0
2018-10-05Fix deprecated tag s! in favor of tag!Libravatar bott1-83/+83
2018-10-05Fix fmt at parser.rsLibravatar bott1-28/+42
2018-10-05Add changing delimiters supportLibravatar bott4-79/+160
2018-09-21fix panicked on range-based for loopLibravatar bott1-1/+4
2018-09-14Update formatting for rust 1.29.0 rustfmtLibravatar Dirkjan Ochtman1-2/+1
2018-09-14Fix operator preference at loop.indexLibravatar bott1-1/+1
2018-09-14Fix operator preference at loop.firstLibravatar bott1-3/+3
2018-09-07Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-9/+12
2018-09-07Fix deep nested imports in macro callsLibravatar bott1-26/+21
2018-09-07Update syn requirement from 0.14 to 0.15Libravatar dependabot[bot]1-1/+1
Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/commits/0.15.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-02Fix multiple nesting in macro calls into different scopesLibravatar bott1-3/+5
2018-09-02Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2-7/+13
2018-09-02Fix nested macro calls into different scopesLibravatar bott1-11/+18
2018-07-27Inline block content functionsLibravatar Dirkjan Ochtman1-77/+57
2018-07-25Prepare Heritage before Generator instantiationLibravatar Dirkjan Ochtman2-51/+60
2018-07-25Add comment about subtleties of code generation for includesLibravatar Dirkjan Ochtman1-0/+2
2018-07-25Use write!() macro instead of write_fmt() methodLibravatar Dirkjan Ochtman1-2/+2
2018-07-25Disconnect Buffer instance from Generator instanceLibravatar Dirkjan Ochtman1-195/+201
2018-07-25Use nested scopes for function call argumentsLibravatar Dirkjan Ochtman1-18/+11
2018-07-25Tweak generated code style for let blocksLibravatar Dirkjan Ochtman1-1/+1
2018-07-25Tweak writeln() handling of stateLibravatar Dirkjan Ochtman1-5/+4
2018-07-25Use Buffer type for expression buffersLibravatar Dirkjan Ochtman1-109/+109
2018-07-24Take reference to indexed dataLibravatar Dirkjan Ochtman1-0/+1
2018-07-24Improve formatting for macro argumentsLibravatar Dirkjan Ochtman1-1/+1
2018-07-24Move buffer maintenance utilities into a separate typeLibravatar Dirkjan Ochtman1-95/+120
2018-07-23Bump versions to 0.7.1Libravatar Dirkjan Ochtman1-2/+2
2018-07-22Add Template method to return template extensionLibravatar Dirkjan Ochtman1-0/+5
Thanks to Ryan McGrath for the suggestion and initial implementation.
2018-07-22Add optional implementation for actix_web's Responder traitLibravatar Ryan McGrath2-0/+24
2018-07-22Rename Rocket impl method to clarify dependencyLibravatar Ryan McGrath1-2/+2
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman3-7/+36
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman3-14/+19
2018-07-10Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-1/+4
2018-07-04Remove restrictions to named field structs (fixes #101)Libravatar Dirkjan Ochtman2-5/+1
2018-07-02Clean up according to clippy suggestionsLibravatar Dirkjan Ochtman2-2/+2
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-02Fix unused import warningLibravatar mash1-1/+1
2018-07-02Only pass path to contextLibravatar mash1-5/+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