aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-23Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-4/+1
2020-04-23Fix clippy suggestionLibravatar Dirkjan Ochtman1-1/+1
2020-04-23Fix taking references of function arguments (fixes #311)Libravatar Dirkjan Ochtman1-6/+20
2020-03-31fix: make filesizeformat work with all types that implement ↵Libravatar Zachary Kohnen1-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
2020-03-31fix urlencode bug, do not encode a fixed size of character exceptionsLibravatar João Oliveira1-6/+35
2020-03-30add urlencode filterLibravatar João Oliveira2-3/+23
2020-03-18Use _visit_args in var/path callsLibravatar Nathan Lapel1-15/+8
2020-03-18Support function callsLibravatar Nathan Lapel2-9/+96
2020-02-24Fix askama_shared clippy warningLibravatar Paolo Barbolini1-6/+7
2020-02-08Adapt to new warnings and formattingLibravatar Dirkjan Ochtman4-6/+1
2020-02-07add 2 more testLibravatar D.Loh1-0/+3
2020-02-07add unit test, and do not truncate when len equalLibravatar D.Loh1-1/+23
2020-02-07eliminate panic on len not lie on boundaryLibravatar D.Loh1-1/+5
check boundary, add truncate len per 1 as needed till checking pass
2020-01-29Generalize hashmap parameter as suggested by clippyLibravatar Dirkjan Ochtman1-8/+8
2020-01-29Move code generation into askama_sharedLibravatar Dirkjan Ochtman5-1/+1531
2020-01-29Move input module into askama_sharedLibravatar Dirkjan Ochtman3-0/+224
2020-01-29Move parser into askama_sharedLibravatar Dirkjan Ochtman3-0/+1097
2020-01-29Error::description() will be deprecated soonLibravatar Dirkjan Ochtman1-12/+2
2020-01-27Bump version to 0.9.1Libravatar Dirkjan Ochtman1-1/+1
2020-01-27Show all filters in docs.rsLibravatar Dirkjan Ochtman1-0/+3
2020-01-15Remove unnecessary explicit lifetimesLibravatar Dirkjan Ochtman1-1/+1
2020-01-15Fix up formattingLibravatar Dirkjan Ochtman1-1/+1
2020-01-15Bump version numbers to 0.9.0Libravatar Dirkjan Ochtman1-2/+2
2020-01-15Make dependencies optional where possibleLibravatar Dirkjan Ochtman3-16/+60
2020-01-15Modernize and simplify importsLibravatar Dirkjan Ochtman2-10/+5
2020-01-02Clean up clippy warningsLibravatar Dirkjan Ochtman2-36/+34
2019-07-25Update formattingLibravatar Dirkjan Ochtman1-2/+8
2019-07-11Implement selected clippy recommendations.Libravatar Bardi Harborow1-1/+1
2019-04-01Fix tests for extensionsLibravatar Dirkjan Ochtman1-2/+2
2019-04-01Add md and yml to non-escaped extensions (fixes #229)Libravatar Dirkjan Ochtman1-1/+1
2019-03-18Update toml requirement from 0.4 to 0.5Libravatar dependabot[bot]1-1/+1
Updates the requirements on [toml](https://github.com/alexcrichton/toml-rs) to permit the latest version. - [Release notes](https://github.com/alexcrichton/toml-rs/releases) - [Commits](https://github.com/alexcrichton/toml-rs/compare/0.4.0...0.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06Make html-escaper also escape .j2, .jinja and .jinja2 filesLibravatar Daniel Wiesenberg1-0/+2
2019-01-17Add optional support for yaml filter (see #192)Libravatar Dirkjan Ochtman4-3/+55
2019-01-17Bump versions in anticipation of 0.8.0 releaseLibravatar Dirkjan Ochtman1-2/+2
2019-01-12Rename deprecate method Error::cause()Libravatar Dirkjan Ochtman1-2/+2
2019-01-12Allow configuration of escape modesLibravatar Dirkjan Ochtman1-0/+57
2019-01-12Specify a trait that handles the output format's escapingLibravatar Dirkjan Ochtman2-20/+28
2019-01-12Fix import orderLibravatar Dirkjan Ochtman1-1/+1
2019-01-08Fix loop.lastLibravatar yossyJ1-29/+30
2019-01-08Add support for loop.lastLibravatar yossyJ2-0/+49
2018-12-08Use 2018 edition idiomsLibravatar Dirkjan Ochtman4-26/+20
2018-12-08Upgrade to 2018 editionLibravatar Dirkjan Ochtman3-2/+3
2018-12-07Fix typo in serde_json featureLibravatar Dirkjan Ochtman4-11/+10
2018-12-01Fix unnecessary len at capitalize filterLibravatar Juan Aguilar Santillana1-9/+6
2018-11-16Add filesizeformat filterLibravatar youmouse3-1/+20
2018-11-07Clean up unused featuresLibravatar Dirkjan Ochtman1-7/+0
2018-11-07Create askama_escape crateLibravatar bott4-103/+4
2018-11-05Reorder and tweak code style a little bitLibravatar Dirkjan Ochtman1-19/+18
2018-11-05Improve performance simplifyLibravatar bott1-32/+20
2018-11-05Escape into FormatterLibravatar Dirkjan Ochtman3-58/+60