Registry / web-framework / actix-router

actix-router

JSON →
library0.5.4rscratesunverified

Resource path matching and router for the Actix web framework.

# Cargo.toml [dependencies] actix-router = "0.5.4"
INSTALL
IMPORT
SIG · ACTIX-ROUTER
A
actix-router
web-frameworkrustv0.5.4
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 actix_router::Router;

Creates a router and matches a path.

use actix_router::Router; fn main() { let mut router = Router::new(); router.path("/hello/{name}", |params| { println!("Hello, {}", params.get("name").unwrap()); }); router.recognize("/hello/world"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
40
OpenAI (training)
2
Resources
actix-router — cargo add actix-router · libregistry