{"id":59566,"library":"hyper-staticfile","title":"Hyper Staticfile","description":"Static file serving for Hyper 1.0.","status":"active","version":"0.10.1","language":"rust","source_language":null,"source_url":"https://github.com/stephank/hyper-staticfile","tags":["hyper","static","file","server","http"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nhyper-staticfile = \"0.10.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add hyper-staticfile","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Static","correct":"use hyper_staticfile::Static;"}],"quickstart":{"code":"use hyper_staticfile::Static;\n\nfn main() {\n    let static_files = Static::new(\"./public\");\n    println!(\"Static file server configured\");\n}","lang":"rust","description":"Creates a static file server for the given directory."},"warnings":[{"fix":"Add `hyper` and `tokio` as dependencies and use an async runtime.","message":"Requires the `hyper` crate and a runtime (e.g., tokio).","severity":"gotcha","affected_versions":">=0.10.0"}],"env_vars":null,"search_vec":"'1.0':8 'file':4,11 'http':13 'hyper':1,7,9 'serv':5 'server':12 'static':3,10 'staticfil':2","created_at":"2026-06-16T17:08:38.864791+00:00","updated_at":"2026-06-16T17:08:38.864791+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/stephank/hyper-staticfile","github":"https://github.com/stephank/hyper-staticfile","docs":"https://docs.rs/hyper-staticfile/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}