aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-06Remove the iron integration from generatorLibravatar René Kijewski1-1/+0
Issue #527 removed the askama_iron package, but not the integration if someone uses askama_derive's feature with "iron". The old askama_iron crate uses askama v0.10, so it will still work.
2022-01-06Add `#![forbid(unsafe_code)]` to all crates except askama_escapeLibravatar René Kijewski1-0/+1
2022-01-06Add `#![deny(unreachable_pub)]` to all cratesLibravatar René Kijewski1-0/+1
2021-11-27Add Axum integrationLibravatar Michael Alyn Miller1-0/+1
2021-10-25Handle build hangs due to unintended template recursion. (#539)Libravatar Gaurav Tyagi1-0/+12
2021-07-01Stop eliding lifetimes in pathsLibravatar Dirkjan Ochtman1-2/+2
2021-06-14Fix needless borrowingLibravatar Dirkjan Ochtman1-1/+1
2020-11-02Use `syn::Error::to_compile_error` and add trybuild ui test (#374)Libravatar msrd01-4/+5
2020-11-02Improve error handling (see #368)Libravatar Dirkjan Ochtman1-18/+30
2020-07-28Add mendes integrationLibravatar Dirkjan Ochtman1-0/+1
2020-07-14alphabetize frameworksLibravatar Jacob Rothstein1-1/+1
2020-07-14askama tideLibravatar Jacob Rothstein1-0/+1
2020-01-29Move code generation into askama_sharedLibravatar Dirkjan Ochtman1-142/+12
2020-01-29Move input module into askama_sharedLibravatar Dirkjan Ochtman1-2/+1
2020-01-29Move parser into askama_sharedLibravatar Dirkjan Ochtman1-5/+1
2020-01-02Clean up clippy warningsLibravatar Dirkjan Ochtman1-0/+1
2019-03-18Create heritage for extends-only templates (fixes #224)Libravatar Dirkjan Ochtman1-1/+1
2018-12-08Use 2018 edition idiomsLibravatar Dirkjan Ochtman1-5/+2
2018-12-08Upgrade to 2018 editionLibravatar Dirkjan Ochtman1-5/+5
2018-12-07Fix cargo fmtLibravatar Juan Aguilar Santillana1-1/+2
2018-11-05Send debug output to stderr instead of stdoutLibravatar Dirkjan Ochtman1-2/+2
2018-10-07Improve variable name to better reflect its typeLibravatar Dirkjan Ochtman1-2/+2
2018-10-05Add changing delimiters supportLibravatar bott1-5/+8
2018-09-14Update formatting for rust 1.29.0 rustfmtLibravatar Dirkjan Ochtman1-2/+1
2018-09-02Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-1/+2
2018-07-25Prepare Heritage before Generator instantiationLibravatar Dirkjan Ochtman1-1/+39
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman1-4/+32
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman1-11/+11
2018-07-04Remove restrictions to named field structs (fixes #101)Libravatar Dirkjan Ochtman1-4/+0
2018-07-02Fix unused import warningLibravatar mash1-1/+1
2018-07-02Only pass path to contextLibravatar mash1-5/+5
2018-06-22Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-4/+6
2018-06-21Flatten inherited blocks for code generationLibravatar Dirkjan Ochtman1-21/+10
2018-06-21Store extends path in ContextLibravatar Dirkjan Ochtman1-12/+11
2018-06-21Use Contexts to keep per-template stateLibravatar Dirkjan Ochtman1-5/+127
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-2/+2
2018-06-21Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman1-3/+3
2018-06-21Let build_template() own the template sourceLibravatar Dirkjan Ochtman1-2/+9
2018-06-21Rename variable for consistencyLibravatar Dirkjan Ochtman1-5/+5
2018-06-15Handle imports as part of code generationLibravatar Dirkjan Ochtman1-41/+1
2018-05-21Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman1-1/+1
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay1-1/+71
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-09Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman1-3/+3
2017-09-05Move tightly coupled code from derive to shared crateLibravatar Dirkjan Ochtman1-111/+1
2017-08-27Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman1-11/+5
This makes it possible to share code between askama and askama_derive.
2017-08-16Support specifying template source as an attributeLibravatar Dirkjan Ochtman1-11/+29
2017-08-16Pass path to code generation as PathLibravatar Dirkjan Ochtman1-1/+3
2017-08-16Use reference into AST for template path instead of cloningLibravatar Dirkjan Ochtman1-4/+4
2017-08-16Use enum for print option valueLibravatar Dirkjan Ochtman1-5/+26
2017-08-08Reorganize code order in askama_derive modulesLibravatar Dirkjan Ochtman1-34/+34