{"id":63406,"library":"path-tree","title":"path-tree","description":"path-tree is a lightweight high performance HTTP request router for Rust","status":"active","version":"0.8.3","language":"rust","source_language":null,"source_url":"https://github.com/viz-rs/path-tree","tags":["http","router","path","performance"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npath-tree = \"0.8.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add path-tree","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"PathTree","correct":"use path_tree::PathTree;"}],"quickstart":{"code":"use path_tree::PathTree;\n\nfn main() {\n    let mut tree = PathTree::new();\n    tree.insert(\"/users/:id\", \"user_handler\");\n    if let Some((handler, params)) = tree.find(\"/users/42\") {\n        println!(\"Handler: {}, id: {}\", handler, params[\"id\"]);\n    }\n}","lang":"rust","description":"Create a path tree and match a route."},"warnings":[],"env_vars":null,"search_vec":"'high':10 'http':12,17 'lightweight':9 'path':2,5,19 'path-tre':1,4 'perform':11,20 'request':13 'router':14,18 'rust':16 'tree':3,6","created_at":"2026-06-17T16:43:37.029884+00:00","updated_at":"2026-06-17T16:43:37.029884+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/viz-rs/path-tree","github":"https://github.com/viz-rs/path-tree","docs":"https://docs.rs/path-tree/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}