Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Provide size_hint() method on Template (fixes #181) | Dirkjan Ochtman | 2019-01-12 | 1 | -37/+99 |
| | |||||
* | Allow configuration of escape modes | Dirkjan Ochtman | 2019-01-12 | 1 | -2/+2 |
| | |||||
* | Specify a trait that handles the output format's escaping | Dirkjan Ochtman | 2019-01-12 | 1 | -7/+12 |
| | |||||
* | Inject template file into generated source as bytes. | Maarten de Vries | 2019-01-11 | 1 | -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.last | yossyJ | 2019-01-08 | 1 | -7/+7 |
| | |||||
* | Add support for loop.last | yossyJ | 2019-01-08 | 1 | -3/+12 |
| | |||||
* | Add support for tuple | yossyJ | 2019-01-04 | 1 | -11/+33 |
| | |||||
* | fix rust macro arguments | Juan Aguilar Santillana | 2018-12-13 | 1 | -4/+6 |
| | |||||
* | Allow using brackets for enums in `match` | mcarton | 2018-12-12 | 1 | -10/+35 |
| | |||||
* | Implement `IntoResponse` for `Template`, allowing them to be used in ↵ | Kellen Frodelius-Fujimoto | 2018-12-10 | 1 | -0/+19 |
| | | | | `gotham` handlers. | ||||
* | Use 2018 edition idioms | Dirkjan Ochtman | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | Upgrade to 2018 edition | Dirkjan Ochtman | 2018-12-08 | 1 | -4/+4 |
| | |||||
* | Fix cargo fmt | Juan Aguilar Santillana | 2018-12-07 | 1 | -8/+8 |
| | |||||
* | Fix generated code style | bott | 2018-11-13 | 1 | -1/+1 |
| | |||||
* | Fix write expression wrapper | bott | 2018-11-11 | 1 | -8/+5 |
| | |||||
* | Code style tweaks | Dirkjan Ochtman | 2018-11-11 | 1 | -2/+2 |
| | |||||
* | Use early returns to prevent deep indentation | Dirkjan Ochtman | 2018-11-11 | 1 | -59/+59 |
| | |||||
* | Add write! named arguments | bott | 2018-11-11 | 1 | -7/+24 |
| | |||||
* | Simplify whitespace handling in expression code generation | Dirkjan Ochtman | 2018-11-07 | 1 | -3/+1 |
| | |||||
* | Fix generated code format | Tomas | 2018-11-07 | 1 | -6/+9 |
| | |||||
* | use UFCS in derived code | Yusuke Sasaki | 2018-11-04 | 1 | -2/+4 |
| | |||||
* | Improve bench with writable buffer for generate format string of write! argument | bott | 2018-10-29 | 1 | -52/+111 |
| | |||||
* | Improve bench with literals buffer for optimize ws writer | bott | 2018-10-27 | 1 | -15/+22 |
| | |||||
* | Improve bench reducing the number of calls to writer.write_str | bott | 2018-10-26 | 1 | -4/+13 |
| | |||||
* | Take reference of unescaped expressions directly (fixes #132) | Dirkjan Ochtman | 2018-10-20 | 1 | -3/+2 |
| | |||||
* | make `Template::extension()` static | Yusuke Sasaki | 2018-10-12 | 1 | -1/+1 |
| | | | | | It is useful for calculating the media type without instantiating the context value. | ||||
* | Fix formatting | Dirkjan Ochtman | 2018-10-08 | 1 | -1/+1 |
| | |||||
* | Add Rust macro support at templates | bott | 2018-10-07 | 1 | -1/+11 |
| | |||||
* | Add changing delimiters support | bott | 2018-10-05 | 1 | -2/+4 |
| | |||||
* | fix panicked on range-based for loop | bott | 2018-09-21 | 1 | -1/+4 |
| | |||||
* | Fix operator preference at loop.index | bott | 2018-09-14 | 1 | -1/+1 |
| | |||||
* | Fix operator preference at loop.first | bott | 2018-09-14 | 1 | -3/+3 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-09-07 | 1 | -9/+12 |
| | |||||
* | Fix deep nested imports in macro calls | bott | 2018-09-07 | 1 | -26/+21 |
| | |||||
* | Fix multiple nesting in macro calls into different scopes | bott | 2018-09-02 | 1 | -3/+5 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-09-02 | 1 | -6/+11 |
| | |||||
* | Fix nested macro calls into different scopes | bott | 2018-09-02 | 1 | -11/+18 |
| | |||||
* | Inline block content functions | Dirkjan Ochtman | 2018-07-27 | 1 | -77/+57 |
| | |||||
* | Prepare Heritage before Generator instantiation | Dirkjan Ochtman | 2018-07-25 | 1 | -50/+21 |
| | |||||
* | Add comment about subtleties of code generation for includes | Dirkjan Ochtman | 2018-07-25 | 1 | -0/+2 |
| | |||||
* | Use write!() macro instead of write_fmt() method | Dirkjan Ochtman | 2018-07-25 | 1 | -2/+2 |
| | |||||
* | Disconnect Buffer instance from Generator instance | Dirkjan Ochtman | 2018-07-25 | 1 | -195/+201 |
| | |||||
* | Use nested scopes for function call arguments | Dirkjan Ochtman | 2018-07-25 | 1 | -18/+11 |
| | |||||
* | Tweak generated code style for let blocks | Dirkjan Ochtman | 2018-07-25 | 1 | -1/+1 |
| | |||||
* | Tweak writeln() handling of state | Dirkjan Ochtman | 2018-07-25 | 1 | -5/+4 |
| | |||||
* | Use Buffer type for expression buffers | Dirkjan Ochtman | 2018-07-25 | 1 | -109/+109 |
| | |||||
* | Take reference to indexed data | Dirkjan Ochtman | 2018-07-24 | 1 | -0/+1 |
| | |||||
* | Improve formatting for macro arguments | Dirkjan Ochtman | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | Move buffer maintenance utilities into a separate type | Dirkjan Ochtman | 2018-07-24 | 1 | -95/+120 |
| | |||||
* | Add Template method to return template extension | Dirkjan Ochtman | 2018-07-22 | 1 | -0/+5 |
| | | | | Thanks to Ryan McGrath for the suggestion and initial implementation. |