aboutsummaryrefslogtreecommitdiffstats
path: root/askama_hyper (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add MSRV checking in CILibravatar Dirkjan Ochtman2023-09-291-1/+1
| | | | Bump MSRV to 1.65 for the use of let .. else.
* Bump versions for Askama 0.12 (#784)Libravatar Dirkjan Ochtman2023-03-031-1/+1
|
* exchange hyper features From<Template> for hyper::Body with TryFromLibravatar Rudi Floren2023-03-031-22/+11
| | | | | | | | | 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.
* Add impl From<{Template}> for hyper::Body deriveLibravatar Rudi Floren2023-02-131-5/+39
| | | | | with-hyper now derives an impl allowing Templates to be passed to functions with trait bounds for Into<hyper::Body>.
* Apply clippy suggestions for 1.67 (#769)Libravatar Dirkjan Ochtman2023-01-302-2/+3
|
* Remove `_ext` from `askama_hyper`, tooLibravatar René Kijewski2022-09-261-3/+3
| | | | | That part was missing from #632, because #632 came before #706, and I forgot to update the older PR.
* Implement basic hyper integrationLibravatar René Kijewski2022-07-257-0/+144
The integration is based on askama_gotham. There is no specific trait to convert an arbitrary T to `hyper::Response`, so I used `From<Template> for hyper::Response`.