#router #iron #iron-framework #web-application #url #easy


Simple router framework for Rust's Iron framework

2 releases

Uses old Rust 2015

0.1.1 Jun 18, 2018
0.1.0 Jun 18, 2018

#967 in HTTP server

MIT license

124 lines

Rust Easy Router

Library to add "matched" routing to the Rust web framework Iron. This can be used to build REST APIs with relative ease, and high stability.

Example Code:

extern crate rust-easy-router;

use rust-easy-router::*;

fn test_handle(vars: HashMap<String, String>, body: &mut Body) -> IronResult<Response>
let mut string = "Vars:".to_owned();

for (x, y) in &vars {
string.push_str(&format!("\n{} -> {}", x, y));


/* Get Body 


~122K SLoC