aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid passing around duplicate dataLibravatar Dirkjan Ochtman2023-11-011-8/+2
|
* Build Config from TemplateArgsLibravatar Dirkjan Ochtman2023-11-011-2/+1
|
* Reorganize TemplateArgs and TemplateInput structureLibravatar Dirkjan Ochtman2023-11-011-4/+3
|
* Inline some logic into find_used_templates()Libravatar Dirkjan Ochtman2023-11-011-7/+3
|
* Implement Default for MapChainLibravatar Dirkjan Ochtman2023-11-011-1/+1
|
* Move build_template() up to the crate rootLibravatar Dirkjan Ochtman2023-11-011-2/+59
|
* Inline nested derive_template() implementationLibravatar Dirkjan Ochtman2023-11-011-1/+5
|
* Extract askama_parser crateLibravatar Dirkjan Ochtman2023-07-311-2/+2
|
* derive: define separate ParseError typeLibravatar Dirkjan Ochtman2023-07-311-0/+8
|
* Parse templates onceLibravatar Dirkjan Ochtman2023-06-281-1/+0
|
* Move code generation into askama_deriveLibravatar René Kijewski2022-05-241-1/+91
|
* 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
|