DuskSystems / wayfind

A speedy, flexible router for Rust.
Apache License 2.0
7 stars 0 forks source link

Consider adding support for inline wildcards #163

Open CathalMullan opened 4 days ago

CathalMullan commented 4 days ago

e.g. /groups/{*id}.{format}

We could check if a wildcard is a segment or not, like we do for quick dynamic. Even for non-segment wildcards, we can still quick-match up until the final segment, then walk bytes.

Rails supports routes like this.