{"id":59846,"library":"static-files","title":"Static Files","description":"Automates collection and embedding of static resources into Rust binaries.","status":"active","version":"0.3.1","language":"rust","source_language":null,"source_url":"https://github.com/static-files-rs/static-files","tags":["static","resources","embed","build"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nstatic-files = \"0.3.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add static-files","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"resource","correct":"use static_files::resource;"}],"quickstart":{"code":"use static_files::resource;\n\nfn main() {\n    let content = resource(\"index.html\").unwrap();\n    println!(\"Resource size: {}\", content.len());\n}","lang":"rust","description":"Minimal example retrieving an embedded static resource."},"warnings":[],"env_vars":null,"search_vec":"'autom':3 'binari':12 'build':16 'collect':4 'emb':15 'embed':6 'file':2 'resourc':9,14 'rust':11 'static':1,8,13","created_at":"2026-06-16T17:18:49.142109+00:00","updated_at":"2026-06-16T17:18:49.142109+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/static-files-rs/static-files","github":"https://github.com/static-files-rs/static-files","docs":"https://docs.rs/static-files/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","utility"],"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}}