aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Provide size_hint() method on Template (fixes #181)Libravatar Dirkjan Ochtman2019-01-121-37/+99
|
* Allow configuration of escape modesLibravatar Dirkjan Ochtman2019-01-121-2/+2
|
* Specify a trait that handles the output format's escapingLibravatar Dirkjan Ochtman2019-01-121-7/+12
|
* Inject template file into generated source as bytes.Libravatar Maarten de Vries2019-01-111-1/+25
| | | | | | This is meant to allow the compiler to understand the dependency between the generated code and the template source. It removes the need for a build script.
* Fix loop.lastLibravatar yossyJ2019-01-081-7/+7
|
* Add support for loop.lastLibravatar yossyJ2019-01-081-3/+12
|
* Add support for tupleLibravatar yossyJ2019-01-041-11/+33
|
* fix rust macro argumentsLibravatar Juan Aguilar Santillana2018-12-131-4/+6
|
* Allow using brackets for enums in `match`Libravatar mcarton2018-12-121-10/+35
|
* Implement `IntoResponse` for `Template`, allowing them to be used in ↵Libravatar Kellen Frodelius-Fujimoto2018-12-101-0/+19
| | | | `gotham` handlers.
* Use 2018 edition idiomsLibravatar Dirkjan Ochtman2018-12-081-1/+1
|
* Upgrade to 2018 editionLibravatar Dirkjan Ochtman2018-12-081-4/+4
|
* Fix cargo fmtLibravatar Juan Aguilar Santillana2018-12-071-8/+8
|
* Fix generated code styleLibravatar bott2018-11-131-1/+1
|
* Fix write expression wrapperLibravatar bott2018-11-111-8/+5
|
* Code style tweaksLibravatar Dirkjan Ochtman2018-11-111-2/+2
|
* Use early returns to prevent deep indentationLibravatar Dirkjan Ochtman2018-11-111-59/+59
|
* Add write! named argumentsLibravatar bott2018-11-111-7/+24
|
* Simplify whitespace handling in expression code generationLibravatar Dirkjan Ochtman2018-11-071-3/+1
|
* Fix generated code formatLibravatar Tomas2018-11-071-6/+9
|
* use UFCS in derived codeLibravatar Yusuke Sasaki2018-11-041-2/+4
|
* Improve bench with writable buffer for generate format string of write! argumentLibravatar bott2018-10-291-52/+111
|
* Improve bench with literals buffer for optimize ws writerLibravatar bott2018-10-271-15/+22
|
* Improve bench reducing the number of calls to writer.write_strLibravatar bott2018-10-261-4/+13
|
* Take reference of unescaped expressions directly (fixes #132)Libravatar Dirkjan Ochtman2018-10-201-3/+2
|
* make `Template::extension()` staticLibravatar Yusuke Sasaki2018-10-121-1/+1
| | | | | It is useful for calculating the media type without instantiating the context value.
* Fix formattingLibravatar Dirkjan Ochtman2018-10-081-1/+1
|
* Add Rust macro support at templatesLibravatar bott2018-10-071-1/+11
|
* Add changing delimiters supportLibravatar bott2018-10-051-2/+4
|
* fix panicked on range-based for loopLibravatar bott2018-09-211-1/+4
|
* Fix operator preference at loop.indexLibravatar bott2018-09-141-1/+1
|
* Fix operator preference at loop.firstLibravatar bott2018-09-141-3/+3
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-09-071-9/+12
|
* Fix deep nested imports in macro callsLibravatar bott2018-09-071-26/+21
|
* Fix multiple nesting in macro calls into different scopesLibravatar bott2018-09-021-3/+5
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-09-021-6/+11
|
* Fix nested macro calls into different scopesLibravatar bott2018-09-021-11/+18
|
* Inline block content functionsLibravatar Dirkjan Ochtman2018-07-271-77/+57
|
* Prepare Heritage before Generator instantiationLibravatar Dirkjan Ochtman2018-07-251-50/+21
|
* Add comment about subtleties of code generation for includesLibravatar Dirkjan Ochtman2018-07-251-0/+2
|
* Use write!() macro instead of write_fmt() methodLibravatar Dirkjan Ochtman2018-07-251-2/+2
|
* Disconnect Buffer instance from Generator instanceLibravatar Dirkjan Ochtman2018-07-251-195/+201
|
* Use nested scopes for function call argumentsLibravatar Dirkjan Ochtman2018-07-251-18/+11
|
* Tweak generated code style for let blocksLibravatar Dirkjan Ochtman2018-07-251-1/+1
|
* Tweak writeln() handling of stateLibravatar Dirkjan Ochtman2018-07-251-5/+4
|
* Use Buffer type for expression buffersLibravatar Dirkjan Ochtman2018-07-251-109/+109
|
* Take reference to indexed dataLibravatar Dirkjan Ochtman2018-07-241-0/+1
|
* Improve formatting for macro argumentsLibravatar Dirkjan Ochtman2018-07-241-1/+1
|
* Move buffer maintenance utilities into a separate typeLibravatar Dirkjan Ochtman2018-07-241-95/+120
|
* Add Template method to return template extensionLibravatar Dirkjan Ochtman2018-07-221-0/+5
| | | | Thanks to Ryan McGrath for the suggestion and initial implementation.