aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add some tests for Config contentsLibravatar Dirkjan Ochtman2018-07-121-0/+16
|
* Enable instantiation of Config from str configurationLibravatar Dirkjan Ochtman2018-07-121-13/+15
|
* Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman2018-07-112-30/+0
|
* Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman2018-07-112-66/+73
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-07-112-3/+9
|
* Revert to using assert_eq!() for path testsLibravatar Dirkjan Ochtman2018-07-111-3/+13
|
* Simplify get_template_source() by using fs::read_to_string()Libravatar Dirkjan Ochtman2018-07-101-11/+8
|
* Use Config type for build script helperLibravatar Dirkjan Ochtman2018-07-102-7/+3
|
* Move Config struct to askama_shared crate rootLibravatar Dirkjan Ochtman2018-07-102-39/+42
|
* Rename Config::from_file() to Config::new()Libravatar Dirkjan Ochtman2018-07-101-3/+3
|
* Simplify find_template_from_path() to use Config directlyLibravatar Dirkjan Ochtman2018-07-101-12/+9
|
* Stop searching for templates used as relative rootsLibravatar Dirkjan Ochtman2018-07-101-13/+12
|
* Get template sources directly from absolute pathsLibravatar Dirkjan Ochtman2018-07-101-22/+15
|
* Simplify code to read configurationLibravatar Dirkjan Ochtman2018-07-101-29/+16
|
* Simplify handling of file open errorsLibravatar Dirkjan Ochtman2018-07-101-4/+3
|
* Reorder items in top-down orderLibravatar Dirkjan Ochtman2018-07-101-22/+22
|
* Add complete support for multiple template dirsLibravatar mash2018-07-101-43/+63
|
* Add partial support for multiple template dirsLibravatar mash2018-07-102-1/+35
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-07-021-3/+12
|
* Added linebreaks and linebreaksbr filtersLibravatar Aaron Power2018-06-291-1/+32
|
* Add support for 'truncate' filter (see #95)Libravatar Dirkjan Ochtman2018-06-251-1/+14
|
* Allow accidentally disabled join filterLibravatar Dirkjan Ochtman2018-06-231-1/+2
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-216-39/+58
|
* Converted error-chain based error to enum based errorLibravatar Philipp Korber2018-06-043-14/+98
| | | | | | | - now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>`
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-124-1860/+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.
* Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman2018-04-122-8/+11
|
* Improve error message when template is not foundLibravatar Dirkjan Ochtman2018-04-091-1/+1
|
* Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman2018-04-021-2/+2
|
* Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman2018-01-223-13/+21
|
* Don't copy trait parameters to type generics (fixes #65)Libravatar Dirkjan Ochtman2018-01-211-2/+3
|
* Use push() instead of push_value() to add type parameters (fixes #65)Libravatar Dirkjan Ochtman2018-01-201-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
* infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda2018-01-191-0/+9
|
* Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman2018-01-093-107/+70
|
* Properly disable rustfmt in parser moduleLibravatar Dirkjan Ochtman2017-12-251-2/+1
|
* Make generated traits public for use in other modules (fixes #61)Libravatar Dirkjan Ochtman2017-12-251-1/+1
|
* Disabling rustfmt locally doesn't work in stable RustLibravatar Dirkjan Ochtman2017-11-211-2/+2
|
* Don't restyle code in parser moduleLibravatar Dirkjan Ochtman2017-11-211-0/+4
|
* Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman2017-11-217-68/+86
|
* Limit line length to < 100 charactersLibravatar Dirkjan Ochtman2017-11-071-2/+4
|
* Add some documentation for whitespace suppression helpersLibravatar Dirkjan Ochtman2017-11-071-0/+8
|
* Improve error about unsupported annotation keyLibravatar Dirkjan Ochtman2017-11-071-1/+1
|
* Support matching custom enumsLibravatar Anthony Nowell2017-11-022-7/+54
|
* Make match ref/deref as neededLibravatar Anthony Nowell2017-11-021-1/+24
| | | | | Much of this can be yanked out and made simpler when match-modes lands in stable
* support literals in match armsLibravatar Anthony Nowell2017-11-022-11/+67
|
* support else in match blockLibravatar Anthony Nowell2017-11-021-0/+15
|
* implement basic match functionalityLibravatar Anthony Nowell2017-11-022-1/+95
|
* Make empty string literals workLibravatar Dirkjan Ochtman2017-10-221-1/+1
|
* Tighten up parser code for path expressionsLibravatar Dirkjan Ochtman2017-10-201-4/+2
|
* Add support for array literals (fixes #59)Libravatar Dirkjan Ochtman2017-10-202-0/+31
|
* Add some whitespace to write_call()Libravatar Dirkjan Ochtman2017-10-151-0/+3
|