route-recognizer
route-recognizer copied to clipboard
Recognizes URL patterns with support for dynamic and wildcard segments
## Description Add `at_or_default ` function to Router. ## Motivation and Context I want to group different method handler on one path.
Note that HashSet is being swapped with BTreeSet, since hash set is not included in `alloc` (but [`hashbrown`](https://docs.rs/hashbrown/latest/hashbrown/hash_set/struct.HashSet.html))
Ref: https://github.com/http-rs/tide/issues/783 ```txt curl http://localhost:8080/test ok curl http://localhost:8080/ 404 curl http://localhost:8080 404 ```
Hey there, thanks for this cool library :) I'm writing an application that needs to capture params that are paths. Is it possible to do it? Example ```rust router.add( "/delete/:path",...
Consider a path, `/path/:value/?foo=:bar` parsed with url `/path/test/?foo=something`. The library currently parses only `test` parameter, ignoring the `foo` query parameter. It should parse that as well.
# Description After parsing a route go through the parameter names to ensure there aren't duplicates. If there are panic so we abort at initial creation. Note this changes the...
## Description Split off #27, blocked on #19 ## Motivation and Context ## How Has This Been Tested? ## Types of changes - [ ] Bug fix (non-breaking change which...
Now that we have maintainers for this crate I think it's about time there were fixes to long standing issues like #20. It's probably worth making this a breaking update...
This issue was automatically generated. Feel free to close without ceremony if you do not agree with re-licensing or if it is not possible for other reasons. Respond to @cmr...