Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use Contexts to keep per-template state | Dirkjan Ochtman | 2018-06-21 | 1 | -5/+127 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-21 | 1 | -2/+2 |
| | |||||
* | Inline TemplateMeta into TemplateInput | Dirkjan Ochtman | 2018-06-21 | 1 | -3/+3 |
| | |||||
* | Let build_template() own the template source | Dirkjan Ochtman | 2018-06-21 | 1 | -2/+9 |
| | |||||
* | Rename variable for consistency | Dirkjan Ochtman | 2018-06-21 | 1 | -5/+5 |
| | |||||
* | Handle imports as part of code generation | Dirkjan Ochtman | 2018-06-15 | 1 | -41/+1 |
| | |||||
* | Upgrade to syn-0.14 and quote-0.6 | Dirkjan Ochtman | 2018-05-21 | 1 | -1/+1 |
| | |||||
* | Isolate proc-macro dependency to the proc macro | David Tolnay | 2018-04-12 | 1 | -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.4 | Dirkjan Ochtman | 2018-01-09 | 1 | -3/+3 |
| |