Registry / web-framework / routerify

routerify

JSON →
library3.0.0rscratesunverified

A lightweight, composable router with middleware support for hyper.rs.

# Cargo.toml [dependencies] routerify = "3.0.0"
INSTALL
IMPORT
SIG · ROUTERIFY
R
routerify
web-frameworkrustv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Router
use routerify::Router;

Create a simple router

use routerify::Router; async fn handler() -> &'static str { "Hello, World!" } fn main() { let router = Router::builder() .get("/", handler) .build() .unwrap(); println!("Router created"); }
Debug
Known issues
gotchaRequires hyper and tokio runtime
fix
Add hyper and tokio as dependencies with appropriate features
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
routerify — cargo add routerify · libregistry