Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | exchange hyper features From<Template> for hyper::Body with TryFrom | 2023-03-03 | 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. | ||||
* | Add impl From<{Template}> for hyper::Body derive | 2023-02-13 | 1 | -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) | 2023-01-30 | 1 | -1/+1 | |
| | |||||
* | Implement basic hyper integration | 2022-07-25 | 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`. |