use usher::prelude::*;
fn main() {
let mut router: Router<String> = Router::new(vec![Box::new(StaticParser)]);
router.insert("/one", "1".to_string());
router.insert("/two", "2".to_string());
router.insert("/three", "3".to_string());
for path in &["/", "/one", "/two", "/three"] {
println!("{}: {:?}", path, router.lookup(path));
}
}