aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-11-02Improve error handling (see #368)Libravatar Dirkjan Ochtman1-39/+48
2020-02-08Adapt to new warnings and formattingLibravatar Dirkjan Ochtman1-1/+0
2020-01-29Move input module into askama_sharedLibravatar Dirkjan Ochtman1-1/+1
2020-01-02Clean up clippy warningsLibravatar Dirkjan Ochtman1-1/+1
2019-08-14Prevent rightward drift in attribute interpretation codeLibravatar Dirkjan Ochtman1-42/+51
2019-08-14Switch to syn/quote/proc_macro2 1.0Libravatar Dirkjan Ochtman1-69/+57
2019-07-11Implement selected clippy recommendations.Libravatar Bardi Harborow1-7/+4
2019-01-12Allow configuration of escape modesLibravatar Dirkjan Ochtman1-9/+18
2019-01-12Specify a trait that handles the output format's escapingLibravatar Dirkjan Ochtman1-33/+15
2019-01-10Add warning of deprecated field '_parent'Libravatar Juan Aguilar Santillana1-0/+10
2018-12-08Use 2018 edition idiomsLibravatar Dirkjan Ochtman1-1/+1
2018-12-08Upgrade to 2018 editionLibravatar Dirkjan Ochtman1-1/+1
2018-12-07Fix cargo fmtLibravatar Juan Aguilar Santillana1-37/+51
2018-10-07Handle syntax validation during Config instantiationLibravatar Dirkjan Ochtman1-20/+0
2018-10-05Add changing delimiters supportLibravatar bott1-4/+42
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman1-2/+5
2018-07-04Remove restrictions to named field structs (fixes #101)Libravatar Dirkjan Ochtman1-1/+1
2018-07-02Add some comments to TemplateInput::new() methodLibravatar Dirkjan Ochtman1-0/+14
2018-07-02Further simplify code to find parent fieldsLibravatar Dirkjan Ochtman1-12/+5
2018-07-02Reorder arms in match for better readabilityLibravatar Dirkjan Ochtman1-2/+2
2018-07-02Further improve matching source and ext in TemplateInputLibravatar Dirkjan Ochtman1-7/+5
2018-07-02Improve field type determinationLibravatar mash1-5/+12
2018-07-02Simplify escape mode determinationLibravatar mash1-20/+13
2018-07-02Determine path during source attribute checksLibravatar mash1-11/+6
2018-06-25Improve attribute handling code for efficiency and robustnessLibravatar Dirkjan Ochtman1-47/+57
2018-06-21Store parent field type in TemplateInputLibravatar Dirkjan Ochtman1-0/+15
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-8/+12
2018-06-21Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman1-23/+20
2018-06-21Let build_template() own the template sourceLibravatar Dirkjan Ochtman1-16/+8
2018-06-16Use struct name for inline templatesLibravatar Dirkjan Ochtman1-1/+1
2018-05-21Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman1-4/+2
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay1-1/+1
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-2/+2
2018-01-09Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman1-43/+43
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman1-2/+2
2017-11-07Improve error about unsupported annotation keyLibravatar Dirkjan Ochtman1-1/+1
2017-09-07Infer escaping mode based on template extensionLibravatar Dirkjan Ochtman1-3/+21
2017-09-07Refactor creation of TemplateMeta valueLibravatar Dirkjan Ochtman1-13/+9
2017-09-07Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman1-4/+8
2017-09-06Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman1-1/+1
2017-09-06Allow setting an extension with source attributesLibravatar Dirkjan Ochtman1-2/+22
2017-09-06Make path and source attributes mutually exclusiveLibravatar Dirkjan Ochtman1-0/+6
2017-09-05Refactor type handling for attribute parametersLibravatar Dirkjan Ochtman1-8/+8
2017-09-05Introduce attribute parameter to disable escapingLibravatar Dirkjan Ochtman1-1/+25
2017-09-05Move TemplateInput and related code into separate moduleLibravatar Dirkjan Ochtman1-55/+8
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