aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-13Tweak attribute parsing some moreLibravatar Dirkjan Ochtman1-10/+7
2022-01-13Make sure '#[template(…)]' is given exactly onceLibravatar René Kijewski1-16/+22
2022-01-13Rename "meta" in proc_macro parserLibravatar René Kijewski1-3/+3
2022-01-07Determine Content-Type during compilationLibravatar René Kijewski1-0/+6
2022-01-07Make TemplateInput::extension() reusableLibravatar René Kijewski1-1/+7
2022-01-07Unshadow function escaping()Libravatar René Kijewski1-3/+3
2022-01-07Move extension_to_mime_type() to askama_sharedLibravatar René Kijewski1-0/+27
2022-01-06Omit implicit lifetimesLibravatar René Kijewski1-1/+1
2021-11-10Don't parse non-template attributesLibravatar Dirkjan Ochtman1-9/+5
2021-07-01Stop eliding lifetimes in pathsLibravatar Dirkjan Ochtman1-1/+1
2021-03-10Changed to allow both path and extLibravatar vallentin1-5/+2
2021-03-10Added extension testsLibravatar vallentin1-0/+48
2021-03-10Fixed extension to ignore common jinja extensions (fixes #457)Libravatar vallentin1-1/+11
2021-03-10Refactored getting path extensionLibravatar vallentin1-1/+9
2021-02-28Fix style suggestion per nightly clippyLibravatar Dirkjan Ochtman1-1/+1
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