aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add config option to derive macro so we can specify config file locationLibravatar Guillaume Gomez2022-04-211-2/+8
|
* Add suppress_whitespace config optionLibravatar Guillaume Gomez2022-04-211-2/+19
|
* Add io::writer helper methodsLibravatar René Kijewski2022-03-311-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 DisplayLibravatar René Kijewski2022-03-311-2/+21
| | | | | This is a quite useful feature, because you can use templates in format!(), format_args!(), etc.
* Move Template into askama_shared, tooLibravatar René Kijewski2022-03-301-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.rsLibravatar René Kijewski2022-03-231-2/+1
|
* Un-"pub" most of askama_shared's internalsLibravatar René Kijewski2022-03-231-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-exportLibravatar René Kijewski2022-03-231-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_sharedLibravatar René Kijewski2022-03-231-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 warningLibravatar René Kijewski2022-03-231-1/+1
|
* Enable tracking of the offending span of an errorLibravatar René Kijewski2022-02-071-5/+24
|
* Replace custom Cow with actual CowLibravatar René Kijewski2022-02-031-18/+14
|
* Move extension_to_mime_type() to askama_sharedLibravatar René Kijewski2022-01-071-0/+1
|
* Remove the iron integration from generatorLibravatar René Kijewski2022-01-061-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_escapeLibravatar René Kijewski2022-01-061-0/+1
|
* Add `#![deny(unreachable_pub)]` to all cratesLibravatar René Kijewski2022-01-061-0/+1
|
* Omit implicit lifetimesLibravatar René Kijewski2022-01-061-3/+3
|
* Add Axum integrationLibravatar Michael Alyn Miller2021-11-271-0/+1
|
* Stop eliding lifetimes in pathsLibravatar Dirkjan Ochtman2021-07-011-0/+1
|
* Fix a clippy::needless-borrow warning in askama_sharedLibravatar René Kijewski2021-07-011-1/+1
|
* Remove an explicit lifetime to fix a clippy warningLibravatar Randati2020-12-211-1/+1
|
* Improve error handling (see #368)Libravatar Dirkjan Ochtman2020-11-021-52/+92
|
* Add mendes integrationLibravatar Dirkjan Ochtman2020-07-281-0/+1
|
* alphabetize frameworksLibravatar Jacob Rothstein2020-07-141-1/+1
|
* askama tideLibravatar Jacob Rothstein2020-07-141-0/+1
|
* Adapt to new warnings and formattingLibravatar Dirkjan Ochtman2020-02-081-2/+0
|
* Move code generation into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-1/+38
|
* Move input module into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-0/+1
|
* Move parser into askama_sharedLibravatar Dirkjan Ochtman2020-01-291-0/+1
|
* Remove unnecessary explicit lifetimesLibravatar Dirkjan Ochtman2020-01-151-1/+1
|
* Make dependencies optional where possibleLibravatar Dirkjan Ochtman2020-01-151-9/+34
|
* Modernize and simplify importsLibravatar Dirkjan Ochtman2020-01-151-8/+4
|
* Clean up clippy warningsLibravatar Dirkjan Ochtman2020-01-021-6/+7
|
* Update formattingLibravatar Dirkjan Ochtman2019-07-251-2/+8
|
* Implement selected clippy recommendations.Libravatar Bardi Harborow2019-07-111-1/+1
|
* Fix tests for extensionsLibravatar Dirkjan Ochtman2019-04-011-2/+2
|
* Add md and yml to non-escaped extensions (fixes #229)Libravatar Dirkjan Ochtman2019-04-011-1/+1
|
* Make html-escaper also escape .j2, .jinja and .jinja2 filesLibravatar Daniel Wiesenberg2019-02-061-0/+2
|
* Allow configuration of escape modesLibravatar Dirkjan Ochtman2019-01-121-0/+57
|
* Add support for loop.lastLibravatar yossyJ2019-01-081-0/+1
|
* Use 2018 edition idiomsLibravatar Dirkjan Ochtman2018-12-081-10/+4
|
* Upgrade to 2018 editionLibravatar Dirkjan Ochtman2018-12-081-1/+1
|
* Fix typo in serde_json featureLibravatar Dirkjan Ochtman2018-12-071-1/+1
|
* Add filesizeformat filterLibravatar youmouse2018-11-161-0/+1
|
* Create askama_escape crateLibravatar bott2018-11-071-2/+2
|
* Fix formattingLibravatar Dirkjan Ochtman2018-10-081-2/+7
|
* Move default_syntax setting into general sectionLibravatar Dirkjan Ochtman2018-10-081-21/+21
|
* Handle syntax validation during Config instantiationLibravatar Dirkjan Ochtman2018-10-071-16/+38
|
* Remove unnecessary type declarationLibravatar Dirkjan Ochtman2018-10-071-1/+1
|
* Tweak error messages for language, consistencyLibravatar Dirkjan Ochtman2018-10-071-2/+2
|