aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move path_as_identifier() closer to driverLibravatar Dirkjan Ochtman2017-08-081-12/+12
|
* Add some comments to clarify code generator methodsLibravatar Dirkjan Ochtman2017-08-081-0/+6
|
* Simplify write_header() method by taking trait name directlyLibravatar Dirkjan Ochtman2017-08-081-12/+6
|
* Share HashSet for locals among nested GeneratorsLibravatar Dirkjan Ochtman2017-08-061-10/+14
|
* Expand include node to template source during code generationLibravatar Dirkjan Ochtman2017-08-062-7/+7
|
* Use one way of finding templates on the pathLibravatar Dirkjan Ochtman2017-08-063-5/+7
|
* Merge handling of trailing newline into get_template_source()Libravatar Dirkjan Ochtman2017-08-063-15/+9
|
* Add test for path::get_template_source()Libravatar Dirkjan Ochtman2017-08-061-1/+6
|
* Allow parent templates to be specified as relative paths (fixes #26)Libravatar Dirkjan Ochtman2017-08-061-4/+12
|
* Add tests for find_template_from_path()Libravatar Dirkjan Ochtman2017-08-061-0/+30
|
* Add function to find template relative to another template's pathLibravatar Dirkjan Ochtman2017-08-061-0/+24
|
* Add test for panic on invalid blocks (see #27)Libravatar Dirkjan Ochtman2017-08-041-0/+5
|
* Let parse() panic if template is not parsed completely (fixes #27)Libravatar Dirkjan Ochtman2017-08-041-1/+8
|
* Handle parsing for blocks in one placeLibravatar Dirkjan Ochtman2017-08-041-15/+14
|
* Add support for include blocks (see #25)Libravatar Dirkjan Ochtman2017-08-042-5/+47
|
* Merge changesLibravatar Dirkjan Ochtman2017-08-022-20/+29
|\
| * Add support for chained attributes (fixes #22)Libravatar Dirkjan Ochtman2017-05-261-12/+21
| |
| * Reference askama and std from the global scope (fixes #17)Libravatar Dirkjan Ochtman2017-03-111-8/+8
| | | | | | | | | | | | With this change, importing `std` and `askama` into modules where templates are defined is no longer necessary. `askama::Template` must still be imported in scopes where methods of the `Template` trait are called.
* | Fix edge cases in content literal parser (fixes #24)Libravatar Dirkjan Ochtman2017-08-021-11/+26
|/
* Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman2017-03-081-1/+3
|
* Use if let to better handle Option typeLibravatar Dirkjan Ochtman2017-03-081-2/+2
|
* Copy type parameters and where clauses (fixes #11)Libravatar Dirkjan Ochtman2017-03-082-9/+40
|
* Inline annotations() helper into write_header()Libravatar Dirkjan Ochtman2017-03-071-14/+9
|
* Extract writing of impl headers in generatorLibravatar Dirkjan Ochtman2017-03-071-10/+14
|
* Panic with better message if template not found (fixes #4)Libravatar Dirkjan Ochtman2017-03-071-1/+8
|
* Panic with better message if template attribute is not found (fixes #3)Libravatar Dirkjan Ochtman2017-03-071-1/+8
|
* Use enumerate() for much simpler loop indexes (fixes #10)Libravatar Dirkjan Ochtman2017-03-061-23/+5
|
* Better support for Iterator variants in for loop (fixes #8)Libravatar Dirkjan Ochtman2017-03-061-2/+2
|
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-064-2/+891
|
* Move template metadata processing into askama crateLibravatar Dirkjan Ochtman2017-02-171-31/+1
|
* Define struct to represent template metadataLibravatar Dirkjan Ochtman2017-02-171-9/+23
|
* Simplify derive_template() functionLibravatar Dirkjan Ochtman2017-02-081-5/+2
|
* Simplify code to find template pathLibravatar Dirkjan Ochtman2017-02-081-23/+10
|
* Expose less granular API in askama crateLibravatar Dirkjan Ochtman2017-02-081-17/+1
|
* Generate path-based type aliasesLibravatar Dirkjan Ochtman2017-02-051-1/+1
|
* Improve name and ownership of AST vectorLibravatar Dirkjan Ochtman2017-02-051-2/+2
|
* Pass entire AST to code generatorLibravatar Dirkjan Ochtman2017-02-041-2/+1
|
* Upgrade to syn-0.11Libravatar Dirkjan Ochtman2017-02-041-1/+1
|
* Remove unneeded feature(proc_macro) annotationLibravatar Dirkjan Ochtman2017-02-021-2/+0
|
* Move parser and generator code into askama crateLibravatar Dirkjan Ochtman2017-01-073-187/+3
|
* Get rid of unused quote dependencyLibravatar Dirkjan Ochtman2017-01-071-2/+0
|
* Add parser and code generator support for Filter expressionsLibravatar Dirkjan Ochtman2017-01-062-4/+37
|
* Separate writing to buffer and node visitation in generatorLibravatar Dirkjan Ochtman2017-01-061-12/+15
|
* Rename askama_codegen to askama_deriveLibravatar Dirkjan Ochtman2017-01-033-0/+216
This appears to be best practice for crates using macros 1.1.