aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-06Add tests for find_template_from_path()Libravatar Dirkjan Ochtman1-0/+30
2017-08-06Add function to find template relative to another template's pathLibravatar Dirkjan Ochtman1-0/+24
2017-08-04Add test for panic on invalid blocks (see #27)Libravatar Dirkjan Ochtman1-0/+5
2017-08-04Let parse() panic if template is not parsed completely (fixes #27)Libravatar Dirkjan Ochtman1-1/+8
2017-08-04Handle parsing for blocks in one placeLibravatar Dirkjan Ochtman1-15/+14
2017-08-04Add support for include blocks (see #25)Libravatar Dirkjan Ochtman2-5/+47
2017-08-02Fix edge cases in content literal parser (fixes #24)Libravatar Dirkjan Ochtman1-11/+26
2017-05-26Add support for chained attributes (fixes #22)Libravatar Dirkjan Ochtman1-12/+21
2017-03-11Reference askama and std from the global scope (fixes #17)Libravatar Dirkjan Ochtman1-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.
2017-03-08Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman1-1/+3
2017-03-08Use if let to better handle Option typeLibravatar Dirkjan Ochtman1-2/+2
2017-03-08Copy type parameters and where clauses (fixes #11)Libravatar Dirkjan Ochtman2-9/+40
2017-03-07Inline annotations() helper into write_header()Libravatar Dirkjan Ochtman1-14/+9
2017-03-07Extract writing of impl headers in generatorLibravatar Dirkjan Ochtman1-10/+14
2017-03-07Panic with better message if template not found (fixes #4)Libravatar Dirkjan Ochtman1-1/+8
2017-03-07Panic with better message if template attribute is not found (fixes #3)Libravatar Dirkjan Ochtman1-1/+8
2017-03-06Use enumerate() for much simpler loop indexes (fixes #10)Libravatar Dirkjan Ochtman1-23/+5
2017-03-06Better support for Iterator variants in for loop (fixes #8)Libravatar Dirkjan Ochtman1-2/+2
2017-03-06Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman4-2/+891
2017-02-17Move template metadata processing into askama crateLibravatar Dirkjan Ochtman1-31/+1
2017-02-17Define struct to represent template metadataLibravatar Dirkjan Ochtman1-9/+23
2017-02-08Simplify derive_template() functionLibravatar Dirkjan Ochtman1-5/+2
2017-02-08Simplify code to find template pathLibravatar Dirkjan Ochtman1-23/+10
2017-02-08Expose less granular API in askama crateLibravatar Dirkjan Ochtman1-17/+1
2017-02-05Generate path-based type aliasesLibravatar Dirkjan Ochtman1-1/+1
2017-02-05Improve name and ownership of AST vectorLibravatar Dirkjan Ochtman1-2/+2
2017-02-04Pass entire AST to code generatorLibravatar Dirkjan Ochtman1-2/+1
2017-02-04Upgrade to syn-0.11Libravatar Dirkjan Ochtman1-1/+1
2017-02-02Remove unneeded feature(proc_macro) annotationLibravatar Dirkjan Ochtman1-2/+0
2017-01-07Move parser and generator code into askama crateLibravatar Dirkjan Ochtman3-187/+3
2017-01-07Get rid of unused quote dependencyLibravatar Dirkjan Ochtman1-2/+0
2017-01-06Add parser and code generator support for Filter expressionsLibravatar Dirkjan Ochtman2-4/+37
2017-01-06Separate writing to buffer and node visitation in generatorLibravatar Dirkjan Ochtman1-12/+15
2017-01-03Rename askama_codegen to askama_deriveLibravatar Dirkjan Ochtman3-0/+216
This appears to be best practice for crates using macros 1.1.