Rocket/core/lib
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
..
fuzz Fuzz URI parsing and display. 2021-06-06 21:52:44 -07:00
src Automatically discover 'Responder' generic bounds. 2021-06-29 03:31:31 -07:00
tests Fix wording in 'config' docs. 2021-06-26 17:11:53 -07:00
Cargo.toml Use 'RelativePathBuf' as 'Config.temp_dir' type. 2021-06-25 11:42:49 -07:00
build.rs Update minimum rustc to 1.46. 2020-10-21 19:56:12 -07:00