aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/input.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow included templates to `extend`, `import`, and `macro`Libravatar max2024-01-171-37/+65
| | | | Signed-off-by: max <gmx.sht@gmail.com>
* Refactored `match node` in `find_used_templates`Libravatar max2024-01-171-3/+17
| | | | Signed-off-by: max <gmx.sht@gmail.com>
* Unbreak reading config from default locationLibravatar Dirkjan Ochtman2023-12-181-5/+5
| | | | | | I broke this in 2a4d58cbb2033114890415c98a61e730185d1f83 due to refactoring for better internal abstractions in askama_derive. We also don't currently have any tests for the default config path.
* add support for svg file extensionLibravatar Marvin Jütte2023-11-091-1/+4
|
* Build Config from TemplateArgsLibravatar Dirkjan Ochtman2023-11-011-7/+11
|
* Reorganize TemplateArgs and TemplateInput structureLibravatar Dirkjan Ochtman2023-11-011-21/+21
|
* Inline some logic into find_used_templates()Libravatar Dirkjan Ochtman2023-11-011-1/+5
|
* Attach find_used_templates() to TemplateInputLibravatar Dirkjan Ochtman2023-11-011-2/+44
|
* Move TemplateArgs into input moduleLibravatar Dirkjan Ochtman2023-11-011-5/+132
|
* Extract askama_parser crateLibravatar Dirkjan Ochtman2023-07-311-1/+1
|
* derive: move Syntax into parser moduleLibravatar Dirkjan Ochtman2023-07-311-1/+2
|
* Revert "derive: Make Config `'static`"Libravatar René Kijewski2023-02-211-4/+4
|
* derive: Make Config `'static`Libravatar René Kijewski2023-01-301-4/+4
| | | | | | | The configuration is made `'static`, because `toml` and `toml_edit` both needs to implement serde's `DeserializeOwned` by now. We allocate the strings once per template, so it is very unlikely that this change will have any measurable impact, neither in compile time nor RAM usage.
* Apply clippy suggestions for 1.67 (#769)Libravatar Dirkjan Ochtman2023-01-301-4/+4
|
* Remove support for deprecated `_parent` fieldLibravatar René Kijewski2022-07-251-25/+1
| | | | | | The support for the magic `_parent` field is deprecated since v0.8.0 or issue #180. It's bothersome to keep this feature alive, when no-one should be using it for 3 years.
* Move code generation into askama_deriveLibravatar René Kijewski2022-05-241-0/+255
|
* Move input module into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-221/+0
|
* Clean up clippy warningsLibravatar Dirkjan Ochtman2020-01-021-1/+1
|
* Prevent rightward drift in attribute interpretation codeLibravatar Dirkjan Ochtman2019-08-141-42/+51
|
* Switch to syn/quote/proc_macro2 1.0Libravatar Dirkjan Ochtman2019-08-141-69/+57
|
* Implement selected clippy recommendations.Libravatar Bardi Harborow2019-07-111-7/+4
|
* Allow configuration of escape modesLibravatar Dirkjan Ochtman2019-01-121-9/+18
|
* Specify a trait that handles the output format's escapingLibravatar Dirkjan Ochtman2019-01-121-33/+15
|
* Add warning of deprecated field '_parent'Libravatar Juan Aguilar Santillana2019-01-101-0/+10
|
* Use 2018 edition idiomsLibravatar Dirkjan Ochtman2018-12-081-1/+1
|
* Upgrade to 2018 editionLibravatar Dirkjan Ochtman2018-12-081-1/+1
|
* Fix cargo fmtLibravatar Juan Aguilar Santillana2018-12-071-37/+51
|
* Handle syntax validation during Config instantiationLibravatar Dirkjan Ochtman2018-10-071-20/+0
|
* Add changing delimiters supportLibravatar bott2018-10-051-4/+42
|
* Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman2018-07-111-2/+5
|
* Remove restrictions to named field structs (fixes #101)Libravatar Dirkjan Ochtman2018-07-041-1/+1
|
* Add some comments to TemplateInput::new() methodLibravatar Dirkjan Ochtman2018-07-021-0/+14
|
* Further simplify code to find parent fieldsLibravatar Dirkjan Ochtman2018-07-021-12/+5
|
* Reorder arms in match for better readabilityLibravatar Dirkjan Ochtman2018-07-021-2/+2
|
* Further improve matching source and ext in TemplateInputLibravatar Dirkjan Ochtman2018-07-021-7/+5
|
* Improve field type determinationLibravatar mash2018-07-021-5/+12
|
* Simplify escape mode determinationLibravatar mash2018-07-021-20/+13
|
* Determine path during source attribute checksLibravatar mash2018-07-021-11/+6
|
* Improve attribute handling code for efficiency and robustnessLibravatar Dirkjan Ochtman2018-06-251-47/+57
|
* Store parent field type in TemplateInputLibravatar Dirkjan Ochtman2018-06-211-0/+15
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-211-8/+12
|
* Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman2018-06-211-23/+20
|
* Let build_template() own the template sourceLibravatar Dirkjan Ochtman2018-06-211-16/+8
|
* Use struct name for inline templatesLibravatar Dirkjan Ochtman2018-06-161-1/+1
|
* Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman2018-05-211-4/+2
|
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-121-0/+175
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.