Rocket/core/codegen
Sergio Benitez 2727d7bb7b Automatically discover 'Responder' generic bounds.
This commit presents and applies a new technique for bounding type
generics in derives. In short, for a generic `T` used in a field type of
`Field<T>`, where an eventual bound of `Responder` required, the derive
generates a bound of `Field<T>: Responder`. This removes the need for
any manually provided bounds while simultaneously allowing more
structures to typecheck. For example, generics in header components are
now fully supported.
2021-06-29 03:31:31 -07:00
..
src Automatically discover 'Responder' generic bounds. 2021-06-29 03:31:31 -07:00
tests Automatically discover 'Responder' generic bounds. 2021-06-29 03:31:31 -07:00
Cargo.toml New version: 0.5.0-rc.1. 2021-06-09 09:52:37 -07:00