Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add config option to derive macro so we can specify config file location | Guillaume Gomez | 2022-04-21 | 1 | -2/+8 |
| | |||||
* | Add suppress_whitespace config option | Guillaume Gomez | 2022-04-21 | 1 | -2/+19 |
| | |||||
* | Add io::writer helper methods | René Kijewski | 2022-03-31 | 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. | ||||
* | Expose the fact that templates implement Display | René Kijewski | 2022-03-31 | 1 | -2/+21 |
| | | | | | This is a quite useful feature, because you can use templates in format!(), format_args!(), etc. | ||||
* | Move Template into askama_shared, too | René Kijewski | 2022-03-30 | 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. | ||||
* | Merge derive.rs into generator.rs | René Kijewski | 2022-03-23 | 1 | -2/+1 |
| | |||||
* | Un-"pub" most of askama_shared's internals | René Kijewski | 2022-03-23 | 1 | -27/+23 |
| | | | | | Previously askama_shared exported most of it's internals, so askama_derive could use them. This is not needed anymore. | ||||
* | Reduce askama_derive to a single re-export | René Kijewski | 2022-03-23 | 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. | ||||
* | Move handling of integrations into askama_shared | René Kijewski | 2022-03-23 | 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. | ||||
* | 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 | -5/+24 |
| | |||||
* | Replace custom Cow with actual Cow | René Kijewski | 2022-02-03 | 1 | -18/+14 |
| | |||||
* | Move extension_to_mime_type() to askama_shared | René Kijewski | 2022-01-07 | 1 | -0/+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 |
| | |||||
* | Omit implicit lifetimes | René Kijewski | 2022-01-06 | 1 | -3/+3 |
| | |||||
* | Add Axum integration | Michael Alyn Miller | 2021-11-27 | 1 | -0/+1 |
| | |||||
* | Stop eliding lifetimes in paths | Dirkjan Ochtman | 2021-07-01 | 1 | -0/+1 |
| | |||||
* | Fix a clippy::needless-borrow warning in askama_shared | René Kijewski | 2021-07-01 | 1 | -1/+1 |
| | |||||
* | Remove an explicit lifetime to fix a clippy warning | Randati | 2020-12-21 | 1 | -1/+1 |
| | |||||
* | Improve error handling (see #368) | Dirkjan Ochtman | 2020-11-02 | 1 | -52/+92 |
| | |||||
* | 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 |
| | |||||
* | Adapt to new warnings and formatting | Dirkjan Ochtman | 2020-02-08 | 1 | -2/+0 |
| | |||||
* | Move code generation into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -1/+38 |
| | |||||
* | Move input module into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -0/+1 |
| | |||||
* | Move parser into askama_shared | Dirkjan Ochtman | 2020-01-29 | 1 | -0/+1 |
| | |||||
* | Remove unnecessary explicit lifetimes | Dirkjan Ochtman | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Make dependencies optional where possible | Dirkjan Ochtman | 2020-01-15 | 1 | -9/+34 |
| | |||||
* | Modernize and simplify imports | Dirkjan Ochtman | 2020-01-15 | 1 | -8/+4 |
| | |||||
* | Clean up clippy warnings | Dirkjan Ochtman | 2020-01-02 | 1 | -6/+7 |
| | |||||
* | Update formatting | Dirkjan Ochtman | 2019-07-25 | 1 | -2/+8 |
| | |||||
* | Implement selected clippy recommendations. | Bardi Harborow | 2019-07-11 | 1 | -1/+1 |
| | |||||
* | Fix tests for extensions | Dirkjan Ochtman | 2019-04-01 | 1 | -2/+2 |
| | |||||
* | Add md and yml to non-escaped extensions (fixes #229) | Dirkjan Ochtman | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | Make html-escaper also escape .j2, .jinja and .jinja2 files | Daniel Wiesenberg | 2019-02-06 | 1 | -0/+2 |
| | |||||
* | Allow configuration of escape modes | Dirkjan Ochtman | 2019-01-12 | 1 | -0/+57 |
| | |||||
* | Add support for loop.last | yossyJ | 2019-01-08 | 1 | -0/+1 |
| | |||||
* | Use 2018 edition idioms | Dirkjan Ochtman | 2018-12-08 | 1 | -10/+4 |
| | |||||
* | Upgrade to 2018 edition | Dirkjan Ochtman | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | Fix typo in serde_json feature | Dirkjan Ochtman | 2018-12-07 | 1 | -1/+1 |
| | |||||
* | Add filesizeformat filter | youmouse | 2018-11-16 | 1 | -0/+1 |
| | |||||
* | Create askama_escape crate | bott | 2018-11-07 | 1 | -2/+2 |
| | |||||
* | Fix formatting | Dirkjan Ochtman | 2018-10-08 | 1 | -2/+7 |
| | |||||
* | Move default_syntax setting into general section | Dirkjan Ochtman | 2018-10-08 | 1 | -21/+21 |
| | |||||
* | Handle syntax validation during Config instantiation | Dirkjan Ochtman | 2018-10-07 | 1 | -16/+38 |
| | |||||
* | Remove unnecessary type declaration | Dirkjan Ochtman | 2018-10-07 | 1 | -1/+1 |
| | |||||
* | Tweak error messages for language, consistency | Dirkjan Ochtman | 2018-10-07 | 1 | -2/+2 |
| |