Crate regex_router

Source
Expand description

§rs-regex-router

§Features

  • Design approach 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.
  • A convenience macro for easily declaring routes.

Read more.

Modules§

error

Macros§

route
Conveniently construct a Route and define it within a provided RouterBuilder.

Structs§

Route
RouteMatch
Router
RouterBuilder