Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-03-03 | exchange hyper features From<Template> for hyper::Body with TryFrom | Rudi Floren | 1 | -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-13 | Add impl From<{Template}> for hyper::Body derive | Rudi Floren | 1 | -5/+39 | |
with-hyper now derives an impl allowing Templates to be passed to functions with trait bounds for Into<hyper::Body>. | |||||
2023-01-30 | Apply clippy suggestions for 1.67 (#769) | Dirkjan Ochtman | 1 | -1/+1 | |
2022-07-25 | Implement basic hyper integration | René Kijewski | 1 | -0/+70 | |
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`. |