aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/lib.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
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.