matchit icon indicating copy to clipboard operation
matchit copied to clipboard

A high performance, zero-copy URL router.

Results 27 matchit issues
Sort by recently updated
recently updated
newest added

For something like fall-through routing, it would be useful to return an iterator of values that match the route. An example might be: ```rust let mut router = Router::new(); router.insert("/users/:id",...

Hi it would be really useful for my use case to support suffixes. e.g. routes like "/users/:id.png" or even "/users/:id.:ext" ... or even "/users/*.png" Although it is possible to do...

feature

Currently routes like `/:a/:b` and `/:a` are supported, but only if they have a common prefix (`/:a`). This means a route like `/:a/:b` conflicts with `/:c`. We can support this...

`insert` a CatchAll node would insert an empty CatchAll node and an actual CatchAll node. Why? For example, for "/foo/*foobar", the final node tree is: ``` Node { priority: 1,...

My use-case is that I'm writing a `tower::Service` and I have a `Node` where `Handler` implements `tower::Service`. What I want to do is implement `poll_ready` for this `tower::Service`, but I...

test case: ```rust #[test] fn test_non_ascii() { let mut tree = Node::new(); tree.insert("x:x", ()); tree.path_ignore_case("£", false); } ```

I'm using this library by proxy of Axum, and ran into an issue in that the router would not accept path segments that contained multiple `:` characters, greeting me with...

Hi, I encountered this behaviour when working with axum. I'm not sure whether this is intended or not but for me it was unexpected. This code returns an `MissingTrailingSlash` error...

## Add a `remove` fn to the radix tree For the moment this feature consist only of : * Finding the node that need to be removed * Once found,...

As discussed in Tokio's Discord server, it would be useful to add support for wildcard matching in the middle of the path For instance, this is required to implement [Docker...

feature