aboutsummaryrefslogtreecommitdiffstats
path: root/askama_hyper (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-03exchange hyper features From<Template> for hyper::Body with TryFromLibravatar Rudi Floren1-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.
2023-02-13Add impl From<{Template}> for hyper::Body deriveLibravatar Rudi Floren1-5/+39
with-hyper now derives an impl allowing Templates to be passed to functions with trait bounds for Into<hyper::Body>.
2023-01-30Apply clippy suggestions for 1.67 (#769)Libravatar Dirkjan Ochtman2-2/+3
2022-09-26Remove `_ext` from `askama_hyper`, tooLibravatar René Kijewski1-3/+3
That part was missing from #632, because #632 came before #706, and I forgot to update the older PR.
2022-07-25Implement basic hyper integrationLibravatar René Kijewski7-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`.