aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/lib.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-12Enable instantiation of Config from str configurationLibravatar Dirkjan Ochtman1-13/+15
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman1-1/+0
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman1-1/+69
2018-07-11Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-1/+1
2018-07-10Use Config type for build script helperLibravatar Dirkjan Ochtman1-3/+3
2018-07-10Move Config struct to askama_shared crate rootLibravatar Dirkjan Ochtman1-2/+39
2018-07-10Add partial support for multiple template dirsLibravatar mash1-1/+3
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-1/+1
2018-06-04Converted error-chain based error to enum based errorLibravatar Philipp Korber1-13/+2
- now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>`
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay1-72/+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-01-22Cleanup warnings generated by clippyLibravatar Dirkjan Ochtman1-3/+5
2018-01-09Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman1-0/+2
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman1-3/+3
2017-10-15Add scope when importing macrosLibravatar Lars Erik Rosengren1-10/+12
2017-09-26Rename parse() method to macro_map()Libravatar Dirkjan Ochtman1-1/+1
2017-09-26Improve code compactnessLibravatar Dirkjan Ochtman1-5/+2
2017-09-26Add support for importing template files with macros (#51)Libravatar larros1-1/+42
* Fix review comments for macro imports
2017-09-05Extract generator::State type to clarify structureLibravatar Dirkjan Ochtman1-1/+1
2017-09-05Move TemplateInput and related code into separate moduleLibravatar Dirkjan Ochtman1-104/+3
2017-09-05Create new TemplateInput abstractionLibravatar Dirkjan Ochtman1-13/+27
2017-09-05Create better abstraction around TemplateMeta typeLibravatar Dirkjan Ochtman1-48/+48
2017-09-05Pass AST to code generator as referenceLibravatar Dirkjan Ochtman1-1/+1
2017-09-05Move tightly coupled code from derive to shared crateLibravatar Dirkjan Ochtman1-2/+111
2017-09-04Escape all strings with character entities by default (fixes #23)Libravatar Dirkjan Ochtman1-0/+1
2017-09-04Move escaping algorithm into a separate moduleLibravatar Dirkjan Ochtman1-0/+1
2017-08-29Export Error typeLibravatar Anthony Nowell1-1/+1
2017-08-27Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman1-0/+29
This makes it possible to share code between askama and askama_derive.