Rocket/lib
Sergio Benitez 4df7ce6bf5 Propogate route names through codegen to runtime.
This commit modifies `codegen` so that a route's name (the name of the
route handler) is stored in the generated static route information
structure and later propogated into the corresponding `Route`
structure.

The primary advantage of this change is an improvement to debug and
error messages which now include route names. The collision error
message, in particular, has been improved dramatically in this commit.
Additionally, the `LaunchError::Collision` variant now contains a
vector of the colliding routes.
2017-08-20 10:55:23 -07:00
..
benches Fix benchmarks to use 'route.uri' instead of 'route.path'. 2017-06-18 02:07:13 -07:00
src Propogate route names through codegen to runtime. 2017-08-20 10:55:23 -07:00
tests Add regression test for issue #345. 2017-07-14 09:54:11 -07:00
Cargo.toml Require 'yansi' 0.3.3. 2017-08-11 10:09:23 -07:00
build.rs Restrict compilation to rustc >= 2017-07-09. 2017-07-09 22:34:29 -07:00