[![Github Actions Status](https://github.com/routerify/routerify-query/workflows/Test/badge.svg)](https://github.com/routerify/routerify-query/actions) [![crates.io](https://img.shields.io/crates/v/routerify-query.svg)](https://crates.io/crates/routerify-query) [![Documentation](https://docs.rs/routerify-query/badge.svg)](https://docs.rs/routerify-query) [![MIT](https://img.shields.io/crates/l/routerify-query.svg)](./LICENSE) # routerify-query A [`Routerify`](https://github.com/routerify/routerify) middleware which parses the request query string and populates in the `req` object. [Docs](https://docs.rs/routerify-query) ## Install Add this to your `Cargo.toml`: ```toml [dependencies] routerify = "3" routerify-query = "3" ``` ## Example ```rust use hyper::{Body, Request, Response, Server}; use routerify::{Router, RouterService}; // Import the query_parser function and the RequestQueryExt trait. use routerify_query::{query_parser, RequestQueryExt}; use std::{convert::Infallible, net::SocketAddr}; // A handler for "/" page. Visit: "/?username=Alice&bookname=HarryPotter" to see query values. async fn home_handler(req: Request
) -> Result