Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reorganize TemplateArgs and TemplateInput structure | Dirkjan Ochtman | 2023-11-01 | 1 | -4/+3 |
| | |||||
* | Inline some logic into find_used_templates() | Dirkjan Ochtman | 2023-11-01 | 1 | -7/+3 |
| | |||||
* | Implement Default for MapChain | Dirkjan Ochtman | 2023-11-01 | 1 | -1/+1 |
| | |||||
* | Move build_template() up to the crate root | Dirkjan Ochtman | 2023-11-01 | 1 | -2/+59 |
| | |||||
* | Inline nested derive_template() implementation | Dirkjan Ochtman | 2023-11-01 | 1 | -1/+5 |
| | |||||
* | Extract askama_parser crate | Dirkjan Ochtman | 2023-07-31 | 1 | -2/+2 |
| | |||||
* | derive: define separate ParseError type | Dirkjan Ochtman | 2023-07-31 | 1 | -0/+8 |
| | |||||
* | Parse templates once | Dirkjan Ochtman | 2023-06-28 | 1 | -1/+0 |
| | |||||
* | Move code generation into askama_derive | René Kijewski | 2022-05-24 | 1 | -1/+91 |
| | |||||
* | Reduce askama_derive to a single re-export | René Kijewski | 2022-03-23 | 1 | -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_shared | René Kijewski | 2022-03-23 | 1 | -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 warning | René Kijewski | 2022-03-23 | 1 | -1/+1 |
| | |||||
* | Enable tracking of the offending span of an error | René Kijewski | 2022-02-07 | 1 | -4/+1 |
| | |||||
* | Replace custom Cow with actual Cow | René Kijewski | 2022-02-03 | 1 | -2/+3 |
| | |||||
* | Replace `&PathBuf` with `&Path` | René Kijewski | 2022-01-24 | 1 | -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>` | René Kijewski | 2022-01-12 | 1 | -1/+1 |
| | |||||
* | Remove the iron integration from generator | René Kijewski | 2022-01-06 | 1 | -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_escape | René Kijewski | 2022-01-06 | 1 | -0/+1 |
| | |||||
* | Add `#![deny(unreachable_pub)]` to all crates | René Kijewski | 2022-01-06 | 1 | -0/+1 |
| | |||||
* | Add Axum integration | Michael Alyn Miller | 2021-11-27 | 1 | -0/+1 |
| | |||||
* | Handle build hangs due to unintended template recursion. (#539) | Gaurav Tyagi | 2021-10-25 | 1 | -0/+12 |
| | |||||
* | Stop eliding lifetimes in paths | Dirkjan Ochtman | 2021-07-01 | 1 | -2/+2 |
| | |||||
* | Fix needless borrowing | Dirkjan Ochtman | 2021-06-14 | 1 | -1/+1 |
| | |||||
* | Use `syn::Error::to_compile_error` and add trybuild ui test (#374) | msrd0 | 2020-11-02 | 1 | -4/+5 |
| | |||||
* | Improve error handling (see #368) | Dirkjan Ochtman | 2020-11-02 | 1 | -18/+30 |
| | |||||
* | Add mendes integration | Dirkjan Ochtman | 2020-07-28 | 1 | -0/+1 |
| | |||||
* | alphabetize frameworks | Jacob Rothstein | 2020-07-14 | 1 | -1/+1 |
| | |||||
* | askama tide | Jacob Rothstein | 2020-07-14 | 1 | -0/+1 |
| | |||||
* | Move code generation into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -142/+12 |
| | |||||
* | Move input module into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -2/+1 |
| | |||||
* | Move parser into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -5/+1 |
| | |||||
* | Clean up clippy warnings | Dirkjan Ochtman | 2020-01-02 | 1 | -0/+1 |
| | |||||
* | Create heritage for extends-only templates (fixes #224) | Dirkjan Ochtman | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | Use 2018 edition idioms | Dirkjan Ochtman | 2018-12-08 | 1 | -5/+2 |
| | |||||
* | Upgrade to 2018 edition | Dirkjan Ochtman | 2018-12-08 | 1 | -5/+5 |
| | |||||
* | Fix cargo fmt | Juan Aguilar Santillana | 2018-12-07 | 1 | -1/+2 |
| | |||||
* | Send debug output to stderr instead of stdout | Dirkjan Ochtman | 2018-11-05 | 1 | -2/+2 |
| | |||||
* | Improve variable name to better reflect its type | Dirkjan Ochtman | 2018-10-07 | 1 | -2/+2 |
| | |||||
* | Add changing delimiters support | bott | 2018-10-05 | 1 | -5/+8 |
| | |||||
* | Update formatting for rust 1.29.0 rustfmt | Dirkjan Ochtman | 2018-09-14 | 1 | -2/+1 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-09-02 | 1 | -1/+2 |
| | |||||
* | Prepare Heritage before Generator instantiation | Dirkjan Ochtman | 2018-07-25 | 1 | -1/+39 |
| | |||||
* | Move get_template_source() into askama_derive | Dirkjan Ochtman | 2018-07-11 | 1 | -4/+32 |
| | |||||
* | Move find_template_from_path() into Config | Dirkjan Ochtman | 2018-07-11 | 1 | -11/+11 |
| | |||||
* | Remove restrictions to named field structs (fixes #101) | Dirkjan Ochtman | 2018-07-04 | 1 | -4/+0 |
| | |||||
* | Fix unused import warning | mash | 2018-07-02 | 1 | -1/+1 |
| | |||||
* | Only pass path to context | mash | 2018-07-02 | 1 | -5/+5 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-22 | 1 | -4/+6 |
| | |||||
* | Flatten inherited blocks for code generation | Dirkjan Ochtman | 2018-06-21 | 1 | -21/+10 |
| | |||||
* | Store extends path in Context | Dirkjan Ochtman | 2018-06-21 | 1 | -12/+11 |
| |