aboutsummaryrefslogtreecommitdiffstats
path: root/askama_actix/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* No needless boxing of the errorLibravatar René Kijewski2022-01-061-3/+22
|
* Combine imports from the same moduleLibravatar René Kijewski2022-01-061-3/+1
|
* Update for actix-web betaLibravatar René Kijewski2022-01-051-19/+17
|
* askama_actix: revert to actix-web v3 for releaseLibravatar Dirkjan Ochtman2022-01-041-6/+6
|
* Use a separate trait for object safety (#579)Libravatar Dirkjan Ochtman2021-12-151-3/+2
| | | | | | | | | | | | | | | | | | This is relatively major change to the main trait's API. For context, I always started from the concept of monomorphized traits, but later several contributors asked about object safety. At that point I made `Template` object-safe, and then even later added a `SizedTemplate` to make some things easier for people who don't need object safety. However, having object-safety in the primary trait is bad for performance (a substantial number of calls into the virtual `Write` trait is relatively slow), and I don't think those who don't need object safety should pay for the cost of having it. Additionally, I feel using associated consts for the extension and size hint is more idiomatic than having accessor methods. I don't know why I didn't use these from the start -- maybe associated consts didn't exist yet, or I didn't yet know how/when to use them. Askama is pretty old at this point...
* Prepare for actix-web v4 (#553)Libravatar Sergey Pashinin2021-11-111-7/+8
|
* Stop eliding lifetimes in pathsLibravatar Dirkjan Ochtman2021-07-011-0/+2
|
* Rename askama_actix trait method as suggested by clippyLibravatar Dirkjan Ochtman2021-02-151-4/+4
| | | | | By bumping the dependency versions for askama and askama_shared, this should be safe.
* Tweak dependency on futures for Actix integrationLibravatar Dirkjan Ochtman2020-06-301-0/+7
|
* Move Actix-Web integration into separate askama_actix crateLibravatar Dirkjan Ochtman2020-01-291-0/+22