aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce askama_derive to a single re-exportLibravatar René Kijewski2022-03-231-99/+1
| | | | | | | | | | All the hard work in askama_derive was actually done in askama_shared. This PR removes the back-and-forth interaction between the two crates. Now askama_derive is a single re-export of `#[derive(Template)]` which has to be done in a proc_macro crate. This most likely means that askama_derive is "final", unless another derive template needs to be introduced in the future.
* Move handling of integrations into askama_sharedLibravatar René Kijewski2022-03-231-14/+2
| | | | | | | Before this PR the handling of integrations was done both by askama_shared and askama_derive. This diff lets askama_shared do the work. This will prevent problems like #629, when both packages might come out of sync.
* Fix clippy warningLibravatar René Kijewski2022-03-231-1/+1
|
* Enable tracking of the offending span of an errorLibravatar René Kijewski2022-02-071-4/+1
|
* Replace custom Cow with actual CowLibravatar René Kijewski2022-02-031-2/+3
|
* Replace `&PathBuf` with `&Path`Libravatar René Kijewski2022-01-241-3/+3
| | | | | PathBuf is to String like Path is to str, so `&PathBuf` is a pointer to a pointer. Clippy does not likes that.
* `&Option<T>` → `Option<&T>`Libravatar René Kijewski2022-01-121-1/+1
|
* Remove the iron integration from generatorLibravatar René Kijewski2022-01-061-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.
* Add `#![forbid(unsafe_code)]` to all crates except askama_escapeLibravatar René Kijewski2022-01-061-0/+1
|
* Add `#![deny(unreachable_pub)]` to all cratesLibravatar René Kijewski2022-01-061-0/+1
|
* Add Axum integrationLibravatar Michael Alyn Miller2021-11-271-0/+1
|
* Handle build hangs due to unintended template recursion. (#539)Libravatar Gaurav Tyagi2021-10-251-0/+12
|
* Stop eliding lifetimes in pathsLibravatar Dirkjan Ochtman2021-07-011-2/+2
|
* Fix needless borrowingLibravatar Dirkjan Ochtman2021-06-141-1/+1
|
* Use `syn::Error::to_compile_error` and add trybuild ui test (#374)Libravatar msrd02020-11-021-4/+5
|
* Improve error handling (see #368)Libravatar Dirkjan Ochtman2020-11-021-18/+30
|
* Add mendes integrationLibravatar Dirkjan Ochtman2020-07-281-0/+1
|
* alphabetize frameworksLibravatar Jacob Rothstein2020-07-141-1/+1
|
* askama tideLibravatar Jacob Rothstein2020-07-141-0/+1
|
* Move code generation into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-142/+12
|
* Move input module into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-2/+1
|
* Move parser into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-5/+1
|
* Clean up clippy warningsLibravatar Dirkjan Ochtman2020-01-021-0/+1
|
* Create heritage for extends-only templates (fixes #224)Libravatar Dirkjan Ochtman2019-03-181-1/+1
|
* Use 2018 edition idiomsLibravatar Dirkjan Ochtman2018-12-081-5/+2
|
* Upgrade to 2018 editionLibravatar Dirkjan Ochtman2018-12-081-5/+5
|
* Fix cargo fmtLibravatar Juan Aguilar Santillana2018-12-071-1/+2
|
* Send debug output to stderr instead of stdoutLibravatar Dirkjan Ochtman2018-11-051-2/+2
|
* Improve variable name to better reflect its typeLibravatar Dirkjan Ochtman2018-10-071-2/+2
|
* Add changing delimiters supportLibravatar bott2018-10-051-5/+8
|
* Update formatting for rust 1.29.0 rustfmtLibravatar Dirkjan Ochtman2018-09-141-2/+1
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-09-021-1/+2
|
* Prepare Heritage before Generator instantiationLibravatar Dirkjan Ochtman2018-07-251-1/+39
|
* Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman2018-07-111-4/+32
|
* Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman2018-07-111-11/+11
|
* Remove restrictions to named field structs (fixes #101)Libravatar Dirkjan Ochtman2018-07-041-4/+0
|
* Fix unused import warningLibravatar mash2018-07-021-1/+1
|
* Only pass path to contextLibravatar mash2018-07-021-5/+5
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-221-4/+6
|
* Flatten inherited blocks for code generationLibravatar Dirkjan Ochtman2018-06-211-21/+10
|
* Store extends path in ContextLibravatar Dirkjan Ochtman2018-06-211-12/+11
|
* Use Contexts to keep per-template stateLibravatar Dirkjan Ochtman2018-06-211-5/+127
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-211-2/+2
|
* Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman2018-06-211-3/+3
|
* Let build_template() own the template sourceLibravatar Dirkjan Ochtman2018-06-211-2/+9
|
* Rename variable for consistencyLibravatar Dirkjan Ochtman2018-06-211-5/+5
|
* Handle imports as part of code generationLibravatar Dirkjan Ochtman2018-06-151-41/+1
|
* Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman2018-05-211-1/+1
|
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-121-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.
* Upgrade to syn-0.12 and quote-0.4Libravatar Dirkjan Ochtman2018-01-091-3/+3
|