{"id":58383,"library":"embed-resource","title":"embed-resource","description":"A Cargo library to handle compilation and inclusion of Windows resources in the most resilient fashion imaginable","status":"active","version":"3.0.9","language":"rust","source_language":null,"source_url":"https://github.com/nabijaczleweli/rust-embed-resource","tags":["windows","resources","build","embed"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nembed-resource = \"3.0.9\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add embed-resource","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"embed_resource","correct":"use embed_resource::embed_resource;"}],"quickstart":{"code":"// In build.rs:\nfn main() {\n    embed_resource::embed_resource(\"resources/resource.rc\");\n}","lang":"rust","description":"Embed Windows resources during build"},"warnings":[{"fix":"Use conditional compilation with `#[cfg(target_os = \"windows\")]`","message":"Only works on Windows targets","severity":"gotcha","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'build':23 'cargo':5 'compil':9 'emb':2,24 'embed-resourc':1 'fashion':19 'handl':8 'imagin':20 'inclus':11 'librari':6 'resili':18 'resourc':3,14,22 'window':13,21","created_at":"2026-06-16T16:21:55.528028+00:00","updated_at":"2026-06-16T16:21:55.528028+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/nabijaczleweli/rust-embed-resource","github":"https://github.com/nabijaczleweli/rust-embed-resource","docs":"https://docs.rs/embed-resource/","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}}