aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add fmt filter that swaps the first two arguments to format!().Libravatar Andrew Dona-Couch2020-07-142-1/+41
| | | | | | This allows a more natural filter usage: `{{ val | fmt("{:?}") }}` as well as enabling convenient filter composition: `{{ price | to_f64 | fmt("${:.2}") | center }}`
* Bump versions to prepare for askama_tide releaseLibravatar Dirkjan Ochtman2020-07-141-1/+1
|
* alphabetize frameworksLibravatar Jacob Rothstein2020-07-142-57/+58
|
* askama tideLibravatar Jacob Rothstein2020-07-142-0/+30
|
* Bump askama_shared version with whitespace fixesLibravatar Dirkjan Ochtman2020-06-301-1/+1
|
* Add support for more whitespace positions within expressions:Libravatar Ciprian Dorin Craciun2020-06-301-11/+20
| | | | | | | | | | | | * in function calls: `x ( 1 , 2 )`; * in path elements: `module :: element`; * in attributes: `x . y . z`; * in filter arguments: `x| filter ( 1 , 2 )`; * before unary operators: `! false` and `- 42`; * in grouped expressions: `( 1 + 2 )`; * also allow more than a single whitespace; Change some tests to include whitespaces in various positions.
* Bump version number for askama_sharedLibravatar Dirkjan Ochtman2020-06-301-1/+1
|
* Tweak dependency on futures for Actix integrationLibravatar Dirkjan Ochtman2020-06-301-2/+2
|
* Reference READMEs in crate metadataLibravatar Dirkjan Ochtman2020-06-301-0/+1
|
* Add README files for subcratesLibravatar Dirkjan Ochtman2020-06-301-0/+9
|
* Bump version numbersLibravatar Dirkjan Ochtman2020-06-301-2/+2
|
* Add license files to each crate (fixes #339)Libravatar Dirkjan Ochtman2020-06-302-0/+2
|
* Remove redundant cloneLibravatar Dirkjan Ochtman2020-06-241-1/+1
|
* Reorder parser type definitionsLibravatar Dirkjan Ochtman2020-06-031-46/+46
|
* Revert whitespace matching to old macro behaviorLibravatar Dirkjan Ochtman2020-06-031-6/+8
|
* Strip 0 or more instead of 1 whitespace character (fixes #337)Libravatar Dirkjan Ochtman2020-06-031-2/+2
|
* Allow block definitions in if/for/match blocks (fixes #335)Libravatar Dirkjan Ochtman2020-06-032-9/+14
|
* Refactor code for finding nested blocksLibravatar Dirkjan Ochtman2020-06-031-32/+27
|
* Cast empty arrays to slice to get around clippyLibravatar Dirkjan Ochtman2020-05-211-3/+2
|
* Allow clippy reversed-empty-ranges for nowLibravatar Dirkjan Ochtman2020-05-211-0/+1
| | | | Pending https://github.com/rust-lang/rust-clippy/issues/5628.
* Remove now unused match armsLibravatar Dirkjan Ochtman2020-05-171-2/+0
|
* Properly annotate non-exhaustive enumLibravatar Dirkjan Ochtman2020-05-171-6/+1
|
* Fix wrong num_traits cfg feature in askama_sharedLibravatar Jerome Gravel-Niquet2020-04-251-8/+8
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2020-04-231-4/+1
|
* Fix clippy suggestionLibravatar Dirkjan Ochtman2020-04-231-1/+1
|
* Fix taking references of function arguments (fixes #311)Libravatar Dirkjan Ochtman2020-04-231-6/+20
|
* fix: make filesizeformat work with all types that implement ↵Libravatar Zachary Kohnen2020-03-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | humansize::FileSize (#307) * fix: make filesizeformat work with all types that implement humanzie::FileSize Enabled dynamic dispatch on the filesizeformat filter as to allow for numbers other than usize to work * fix: remove dynamic dispatch dynamic dyspatch would not work since file_size takes a generic. Instead we use a generic function with type B being any type that implements FileSize. * fix: add AsRef to allow for references to be passed as well as owned values * fix: move AsRef into a generic as to allow for owned values * fix: move to borrow from asref as it is implemented by primitives * format: fix import ordering * fix: remove borrow for it was useless * fix: add borrow to input value * refactor: remove unused imports
* fix urlencode bug, do not encode a fixed size of character exceptionsLibravatar João Oliveira2020-03-311-6/+35
|
* add urlencode filterLibravatar João Oliveira2020-03-302-3/+23
|
* Use _visit_args in var/path callsLibravatar Nathan Lapel2020-03-181-15/+8
|
* Support function callsLibravatar Nathan Lapel2020-03-182-9/+96
|
* Fix askama_shared clippy warningLibravatar Paolo Barbolini2020-02-241-6/+7
|
* Adapt to new warnings and formattingLibravatar Dirkjan Ochtman2020-02-084-6/+1
|
* add 2 more testLibravatar D.Loh2020-02-071-0/+3
|
* add unit test, and do not truncate when len equalLibravatar D.Loh2020-02-071-1/+23
|
* eliminate panic on len not lie on boundaryLibravatar D.Loh2020-02-071-1/+5
| | | check boundary, add truncate len per 1 as needed till checking pass
* Generalize hashmap parameter as suggested by clippyLibravatar Dirkjan Ochtman2020-01-291-8/+8
|
* Move code generation into askama_sharedLibravatar Dirkjan Ochtman2020-01-295-1/+1531
|
* Move input module into askama_sharedLibravatar Dirkjan Ochtman2020-01-293-0/+224
|
* Move parser into askama_sharedLibravatar Dirkjan Ochtman2020-01-293-0/+1097
|
* Error::description() will be deprecated soonLibravatar Dirkjan Ochtman2020-01-291-12/+2
|
* Bump version to 0.9.1Libravatar Dirkjan Ochtman2020-01-271-1/+1
|
* Show all filters in docs.rsLibravatar Dirkjan Ochtman2020-01-271-0/+3
|
* Remove unnecessary explicit lifetimesLibravatar Dirkjan Ochtman2020-01-151-1/+1
|
* Fix up formattingLibravatar Dirkjan Ochtman2020-01-151-1/+1
|
* Bump version numbers to 0.9.0Libravatar Dirkjan Ochtman2020-01-151-2/+2
|
* Make dependencies optional where possibleLibravatar Dirkjan Ochtman2020-01-153-16/+60
|
* Modernize and simplify importsLibravatar Dirkjan Ochtman2020-01-152-10/+5
|
* Clean up clippy warningsLibravatar Dirkjan Ochtman2020-01-022-36/+34
|
* Update formattingLibravatar Dirkjan Ochtman2019-07-251-2/+8
|