Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-04-21 | Add suppress_whitespace config option | Guillaume Gomez | 1 | -2/+19 | |
2022-03-31 | Add io::writer helper methods | René Kijewski | 1 | -2/+20 | |
It might not be immediately obvious to everyone how easy it is to use Askama template with std::io (e.g. files) instead of std::fmt, so this PR adds a few helper methods to make this more obvious to novice users. | |||||
2022-03-31 | Expose the fact that templates implement Display | René Kijewski | 1 | -2/+21 | |
This is a quite useful feature, because you can use templates in format!(), format_args!(), etc. | |||||
2022-03-30 | Move Template into askama_shared, too | René Kijewski | 1 | -0/+88 | |
The traits Template and DynTemplate need to be in sync with askama_shared's generator. #647 consolidated the template crating into askama_shared, this PR moves the trait itself. | |||||
2022-03-23 | Merge derive.rs into generator.rs | René Kijewski | 1 | -2/+1 | |
2022-03-23 | Un-"pub" most of askama_shared's internals | René Kijewski | 1 | -27/+23 | |
Previously askama_shared exported most of it's internals, so askama_derive could use them. This is not needed anymore. | |||||
2022-03-23 | Reduce askama_derive to a single re-export | René Kijewski | 1 | -0/+2 | |
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. | |||||
2022-03-23 | Move handling of integrations into askama_shared | René Kijewski | 1 | -11/+0 | |
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. | |||||
2022-03-23 | Fix clippy warning | René Kijewski | 1 | -1/+1 | |
2022-02-07 | Enable tracking of the offending span of an error | René Kijewski | 1 | -5/+24 | |
2022-02-03 | Replace custom Cow with actual Cow | René Kijewski | 1 | -18/+14 | |
2022-01-07 | Move extension_to_mime_type() to askama_shared | René Kijewski | 1 | -0/+1 | |
2022-01-06 | Remove the iron integration from generator | René Kijewski | 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. | |||||
2022-01-06 | Add `#![forbid(unsafe_code)]` to all crates except askama_escape | René Kijewski | 1 | -0/+1 | |
2022-01-06 | Add `#![deny(unreachable_pub)]` to all crates | René Kijewski | 1 | -0/+1 | |
2022-01-06 | Omit implicit lifetimes | René Kijewski | 1 | -3/+3 | |
2021-11-27 | Add Axum integration | Michael Alyn Miller | 1 | -0/+1 | |
2021-07-01 | Stop eliding lifetimes in paths | Dirkjan Ochtman | 1 | -0/+1 | |
2021-07-01 | Fix a clippy::needless-borrow warning in askama_shared | René Kijewski | 1 | -1/+1 | |
2020-12-21 | Remove an explicit lifetime to fix a clippy warning | Randati | 1 | -1/+1 | |
2020-11-02 | Improve error handling (see #368) | Dirkjan Ochtman | 1 | -52/+92 | |
2020-07-28 | Add mendes integration | Dirkjan Ochtman | 1 | -0/+1 | |
2020-07-14 | alphabetize frameworks | Jacob Rothstein | 1 | -1/+1 | |
2020-07-14 | askama tide | Jacob Rothstein | 1 | -0/+1 | |
2020-02-08 | Adapt to new warnings and formatting | Dirkjan Ochtman | 1 | -2/+0 | |
2020-01-29 | Move code generation into askama_shared | Dirkjan Ochtman | 1 | -1/+38 | |
2020-01-29 | Move input module into askama_shared | Dirkjan Ochtman | 1 | -0/+1 | |
2020-01-29 | Move parser into askama_shared | Dirkjan Ochtman | 1 | -0/+1 | |
2020-01-15 | Remove unnecessary explicit lifetimes | Dirkjan Ochtman | 1 | -1/+1 | |
2020-01-15 | Make dependencies optional where possible | Dirkjan Ochtman | 1 | -9/+34 | |
2020-01-15 | Modernize and simplify imports | Dirkjan Ochtman | 1 | -8/+4 | |
2020-01-02 | Clean up clippy warnings | Dirkjan Ochtman | 1 | -6/+7 | |
2019-07-25 | Update formatting | Dirkjan Ochtman | 1 | -2/+8 | |
2019-07-11 | Implement selected clippy recommendations. | Bardi Harborow | 1 | -1/+1 | |
2019-04-01 | Fix tests for extensions | Dirkjan Ochtman | 1 | -2/+2 | |
2019-04-01 | Add md and yml to non-escaped extensions (fixes #229) | Dirkjan Ochtman | 1 | -1/+1 | |
2019-02-06 | Make html-escaper also escape .j2, .jinja and .jinja2 files | Daniel Wiesenberg | 1 | -0/+2 | |
2019-01-12 | Allow configuration of escape modes | Dirkjan Ochtman | 1 | -0/+57 | |
2019-01-08 | Add support for loop.last | yossyJ | 1 | -0/+1 | |
2018-12-08 | Use 2018 edition idioms | Dirkjan Ochtman | 1 | -10/+4 | |
2018-12-08 | Upgrade to 2018 edition | Dirkjan Ochtman | 1 | -1/+1 | |
2018-12-07 | Fix typo in serde_json feature | Dirkjan Ochtman | 1 | -1/+1 | |
2018-11-16 | Add filesizeformat filter | youmouse | 1 | -0/+1 | |
2018-11-07 | Create askama_escape crate | bott | 1 | -2/+2 | |
2018-10-08 | Fix formatting | Dirkjan Ochtman | 1 | -2/+7 | |
2018-10-08 | Move default_syntax setting into general section | Dirkjan Ochtman | 1 | -21/+21 | |
2018-10-07 | Handle syntax validation during Config instantiation | Dirkjan Ochtman | 1 | -16/+38 | |
2018-10-07 | Remove unnecessary type declaration | Dirkjan Ochtman | 1 | -1/+1 | |
2018-10-07 | Tweak error messages for language, consistency | Dirkjan Ochtman | 1 | -2/+2 | |
2018-10-07 | Reorder code for better readability | Dirkjan Ochtman | 1 | -48/+48 | |