Rocket/core/lib
Sergio Benitez 4d0042c395 Allow '<path..>' to match zero segments.
This changes core routing so that '<path..>' in a route URI matches zero
or more segments. Previously, '<path..>' matched _1_ or more.

  * Routes '$a' and '$b/<p..>' collide if $a and $b previously collided.
  * For example, '/' now collides with '/<p..>'.
  * Request '$a' matches route '$b/<p..>' if $a previously matched $b.
  * For example, request '/' matches route '/<p..>'.

Resolves #985.
2021-03-05 02:01:24 -08:00
..
benches UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
src Allow '<path..>' to match zero segments. 2021-03-05 02:01:24 -08:00
tests UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
Cargo.toml Use upstream 'async-trait'. 2021-03-04 22:10:59 -08:00
build.rs Update minimum rustc to 1.46. 2020-10-21 19:56:12 -07:00