mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-12 20:49:11 +00:00
20605dac14
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 | |
||
---|---|---|
.. | ||
codegen | ||
http | ||
lib |