Rocket/core
Sergio Benitez 092e03f720 Generate a proxy structure for better namespacing.
Prior to this commit, it was impossible to 'use' a route from a separate
namespace for use in a 'routes!' macro. Naturally, this was a common
source of confusion amongst users. This commit obviates this deficiency
by generating a "proxy" structure that can be imported and converted
into a 'Route'/'Catcher' or their static variants.

This change is largely backwards compatible but can break existing code
when routes are named identically to other types in the namespace.
2020-10-12 22:11:44 -07:00
..
codegen Generate a proxy structure for better namespacing. 2020-10-12 22:11:44 -07:00
http Generate a proxy structure for better namespacing. 2020-10-12 22:11:44 -07:00
lib Generate a proxy structure for better namespacing. 2020-10-12 22:11:44 -07:00