aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman2-30/+0
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman2-66/+73
2018-07-11Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2-3/+9
2018-07-11Revert to using assert_eq!() for path testsLibravatar Dirkjan Ochtman1-3/+13
2018-07-10Simplify get_template_source() by using fs::read_to_string()Libravatar Dirkjan Ochtman1-11/+8
2018-07-10Use Config type for build script helperLibravatar Dirkjan Ochtman2-7/+3
2018-07-10Move Config struct to askama_shared crate rootLibravatar Dirkjan Ochtman2-39/+42
2018-07-10Rename Config::from_file() to Config::new()Libravatar Dirkjan Ochtman1-3/+3
2018-07-10Simplify find_template_from_path() to use Config directlyLibravatar Dirkjan Ochtman1-12/+9
2018-07-10Stop searching for templates used as relative rootsLibravatar Dirkjan Ochtman1-13/+12
2018-07-10Get template sources directly from absolute pathsLibravatar Dirkjan Ochtman1-22/+15
2018-07-10Simplify code to read configurationLibravatar Dirkjan Ochtman1-29/+16
2018-07-10Simplify handling of file open errorsLibravatar Dirkjan Ochtman1-4/+3
2018-07-10Reorder items in top-down orderLibravatar Dirkjan Ochtman1-22/+22
2018-07-10Add complete support for multiple template dirsLibravatar mash1-43/+63
2018-07-10Add partial support for multiple template dirsLibravatar mash3-3/+39
2018-07-02Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-3/+12
2018-06-29Added linebreaks and linebreaksbr filtersLibravatar Aaron Power1-1/+32
2018-06-25Add support for 'truncate' filter (see #95)Libravatar Dirkjan Ochtman1-1/+14
2018-06-23Allow accidentally disabled join filterLibravatar Dirkjan Ochtman1-1/+2
2018-06-22Bump version numbers to 0.7.0Libravatar Dirkjan Ochtman1-1/+1
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman6-39/+58
2018-06-04Converted error-chain based error to enum based errorLibravatar Philipp Korber4-15/+98
- now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>`
2018-04-18Version bump to 0.6.2Libravatar Dirkjan Ochtman1-1/+1
2018-04-12Bump version numbers to 0.6.1Libravatar Dirkjan Ochtman1-1/+1
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay5-1863/+0
The dependency of askama on askama_shared on syn on libproc_macro used to mean libproc_macro would be dynamically linked into any crate using askama. We want only askama_derive to have a runtime dependency on proc macro. This commit moves all proc macro code from askama_shared into askama_derive so that the askama crate no longer dynamically links libproc_macro.
2018-04-12Bump version numbers to 0.6.0Libravatar Dirkjan Ochtman1-1/+1
2018-04-12Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman2-8/+11
2018-04-09Improve error message when template is not foundLibravatar Dirkjan Ochtman1-1/+1
2018-04-02Upgrade to latest syn and quoteLibravatar Dirkjan Ochtman1-2/+2
2018-04-02Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman1-2/+2
2018-01-22Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman3-13/+21
2018-01-21Don't copy trait parameters to type generics (fixes #65)Libravatar Dirkjan Ochtman1-2/+3
2018-01-20Use push() instead of push_value() to add type parameters (fixes #65)Libravatar Dirkjan Ochtman1-1/+1
push_value() requires taking care of the surrounding punctuation, which push() should handle for us. See this issue reported in syn: https://github.com/dtolnay/syn/issues/338
2018-01-19infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda1-0/+9
2018-01-09Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman4-109/+72
2017-12-25Properly disable rustfmt in parser moduleLibravatar Dirkjan Ochtman1-2/+1
2017-12-25Make generated traits public for use in other modules (fixes #61)Libravatar Dirkjan Ochtman1-1/+1
2017-11-21Disabling rustfmt locally doesn't work in stable RustLibravatar Dirkjan Ochtman1-2/+2
2017-11-21Don't restyle code in parser moduleLibravatar Dirkjan Ochtman1-0/+4
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman7-68/+86
2017-11-07Limit line length to < 100 charactersLibravatar Dirkjan Ochtman1-2/+4
2017-11-07Add some documentation for whitespace suppression helpersLibravatar Dirkjan Ochtman1-0/+8
2017-11-07Improve error about unsupported annotation keyLibravatar Dirkjan Ochtman1-1/+1
2017-11-02Support matching custom enumsLibravatar Anthony Nowell2-7/+54
2017-11-02Make match ref/deref as neededLibravatar Anthony Nowell1-1/+24
Much of this can be yanked out and made simpler when match-modes lands in stable
2017-11-02support literals in match armsLibravatar Anthony Nowell2-11/+67
2017-11-02support else in match blockLibravatar Anthony Nowell1-0/+15
2017-11-02implement basic match functionalityLibravatar Anthony Nowell2-1/+95
2017-10-22Make empty string literals workLibravatar Dirkjan Ochtman1-1/+1