Rocket/core/lib
Sergio Benitez 20605dac14 Set default route rank using "colorings".
This new system colors paths and queries in one of three ways:

  1. `static`, meaning all components are static
  2. `partial`, meaning at least one component is dynamic
  3. `wild`, meaning all components are dynamic

Static paths carry more weight than static queries. The same is true for
partial and wild paths. This results in the following default rankings:

| path    | query   | rank |
|---------|---------|------|
| static  | static  | -12  |
| static  | partial | -11  |
| static  | wild    | -10  |
| static  | none    | -9   |
| partial | static  | -8   |
| partial | partial | -7   |
| partial | wild    | -6   |
| partial | none    | -5   |
| wild    | static  | -4   |
| wild    | partial | -3   |
| wild    | wild    | -2   |
| wild    | none    | -1   |
2021-03-26 19:41:00 -07:00
..
benches Introduce 'RouteUri'. 2021-03-19 03:49:54 -07:00
src Set default route rank using "colorings". 2021-03-26 19:41:00 -07:00
tests Introduce 'RouteUri'. 2021-03-19 03:49:54 -07:00
build.rs Update minimum rustc to 1.46. 2020-10-21 19:56:12 -07:00
Cargo.toml Depend on a single revision of 'state'. 2021-03-15 02:46:34 -07:00