fast-regex-router

An implementation of request routing via a singular grouped regex (with support for path parameter extraction).
Features
- Implemented based upon this article.
- Implemented over a generic handler type allowing use with varying webserver crates.
- Extraction of path parameters which are then mapped as key/value pairs.
- Convenience macros for easily declaring routes and obtaining path parameter values.
- Etc...
Installation & Basic Usage
toml
[dependencies]
fast_regex_router = { git="https://github.com/MetricsPage/fast-regex-router/" }
Rust
let mut builder = RouterBuilder::<String>::new();
let router = builder.build().unwrap();