aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid passing around duplicate dataLibravatar Dirkjan Ochtman2023-11-011-13/+2
|
* Cleanup imports a bitLibravatar Dirkjan Ochtman2023-11-011-4/+4
|
* Implement Default for MapChainLibravatar Dirkjan Ochtman2023-11-011-7/+9
|
* Move build_template() up to the crate rootLibravatar Dirkjan Ochtman2023-11-011-61/+8
|
* Remove unnecessary type annotationLibravatar Dirkjan Ochtman2023-11-011-1/+1
|
* Attach find_used_templates() to TemplateInputLibravatar Dirkjan Ochtman2023-11-011-42/+1
|
* Move TemplateArgs into input moduleLibravatar Dirkjan Ochtman2023-11-011-129/+2
|
* Inline nested derive_template() implementationLibravatar Dirkjan Ochtman2023-11-011-11/+1
|
* Allow macros to take `self` as an argumentLibravatar PizzasBear2023-10-121-1/+1
|
* parser: import `parser::{Expr, Node}`Libravatar René Kijewski2023-08-011-3/+2
|
* parser: add type for `Node::Comment`Libravatar René Kijewski2023-08-011-5/+5
|
* parser: remove re-exports `parser::{node,expr}::*`Libravatar René Kijewski2023-08-011-3/+5
|
* parser: add type for `Node::Extends`Libravatar René Kijewski2023-08-011-1/+1
|
* parser: add type for `Node::Include`Libravatar René Kijewski2023-08-011-8/+7
|
* parser: rename `Node::Cond` into `If` and add typeLibravatar René Kijewski2023-08-011-8/+7
|
* parser: add type for `Node::Let`Libravatar René Kijewski2023-08-011-31/+19
|
* parser: add type for `Node::Raw`Libravatar René Kijewski2023-08-011-4/+4
|
* parser: add type for `Node::Lit`Libravatar René Kijewski2023-08-011-6/+7
|
* parser: add type for `Node::BlockDef`Libravatar René Kijewski2023-08-011-14/+6
|
* parser: add type for `Node::Match`Libravatar René Kijewski2023-08-011-7/+11
|
* parser: add type for `Node::Call`Libravatar René Kijewski2023-08-011-7/+10
|
* parser: add type for `Node::Import`Libravatar René Kijewski2023-08-011-4/+4
|
* parser: let `Macro` know its nameLibravatar René Kijewski2023-08-011-1/+1
|
* parser: rename block to nodesLibravatar Dirkjan Ochtman2023-07-311-3/+3
|
* parser: define a struct for MatchLibravatar Dirkjan Ochtman2023-07-311-4/+3
|
* parser: define a struct for CondLibravatar Dirkjan Ochtman2023-07-311-4/+4
|
* Extract askama_parser crateLibravatar Dirkjan Ochtman2023-07-311-1/+1
|
* derive: move Parsed into parser moduleLibravatar Dirkjan Ochtman2023-07-311-36/+1
|
* derive: move generator-specific methods out of ExprLibravatar Dirkjan Ochtman2023-07-311-2/+71
|
* derive: define separate ParseError typeLibravatar Dirkjan Ochtman2023-07-311-1/+5
|
* derive: move Syntax into parser moduleLibravatar Dirkjan Ochtman2023-07-311-2/+1
|
* Fix Rust macro invocations not accepting a path (#837)Libravatar Matthew Taylor2023-07-241-3/+3
|
* Cache include AST to reduce parsing overheadLibravatar Dirkjan Ochtman2023-06-281-23/+16
|
* Inline child() method to avoid borrowing all fieldsLibravatar Dirkjan Ochtman2023-06-281-27/+23
|
* Avoid reparsing included templates if possibleLibravatar Dirkjan Ochtman2023-06-281-4/+23
|
* Parse templates onceLibravatar Dirkjan Ochtman2023-06-281-13/+44
|
* Update to rocket 0.5-rc.3Libravatar Vypo Mouse2023-05-191-6/+15
|
* Extract literal from group expressions in attributesLibravatar Dirkjan Ochtman2023-03-211-0/+6
|
* Upgrade to syn 2Libravatar Dirkjan Ochtman2023-03-201-27/+26
|
* Add whitespace argument in template derive proc-macroLibravatar Guillaume Gomez2023-03-131-1/+8
|
* Fix handling of trailing whitespace charactersLibravatar Guillaume Gomez2023-03-091-4/+8
|
* Propogate size_hint from sub-blocks (#788)Libravatar Andrew Dona-Couch -- GitHub drop ICE2023-03-061-4/+4
| | | Closes #786
* exchange hyper features From<Template> for hyper::Body with TryFromLibravatar Rudi Floren2023-03-031-7/+5
| | | | | | | | | The previous implementation hid the error returned by render, which made it impossible for callers to react to rendering errors. While having a simple way to call into would be nice, there is not way to have both implementations without adding any manual specialization. Thus, the From impl is replaced by the TryFrom impl.
* Fix typosLibravatar René Kijewski2023-02-241-2/+2
|
* Add impl From<{Template}> for hyper::Body deriveLibravatar Rudi Floren2023-02-131-1/+23
| | | | | with-hyper now derives an impl allowing Templates to be passed to functions with trait bounds for Into<hyper::Body>.
* Extends expects a string and nothing elseLibravatar René Kijewski2023-01-301-1/+1
|
* Apply clippy suggestions for 1.67 (#769)Libravatar Dirkjan Ochtman2023-01-301-32/+32
|
* Remove `_ext` from `askama_hyper`, tooLibravatar René Kijewski2022-09-261-2/+1
| | | | | That part was missing from #632, because #632 came before #706, and I forgot to update the older PR.
* Apply clippy suggestions from Rust 1.64 (#725)Libravatar Dirkjan Ochtman2022-09-231-1/+1
|
* Remove ext argument in integrationsLibravatar René Kijewski2022-09-191-16/+7
|