{"id":72242,"library":"winsafe","title":"Winsafe","description":"Safe and idiomatic Rust bindings for the Windows API and GUI.","status":"active","version":"0.0.27","language":"rust","source_language":null,"source_url":"https://github.com/rodrigocfd/winsafe","tags":["windows","api","gui","safe","idiomatic"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nwinsafe = \"0.0.27\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add winsafe","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"prelude","correct":"use winsafe::prelude::*;"}],"quickstart":{"code":"use winsafe::prelude::*;\nuse winsafe::HWND;\n\nfn main() {\n    let hwnd = HWND::NULL;\n    println!(\"Window handle: {:?}\", hwnd);\n}","lang":"rust","description":"Imports the Winsafe prelude and uses a window handle."},"warnings":[{"fix":"Ensure your build target is a Windows triple (e.g., x86_64-pc-windows-msvc).","message":"Requires Windows target; will not compile on other platforms.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"search_vec":"'api':10,14 'bind':6 'gui':12,15 'idiomat':4,17 'rust':5 'safe':2,16 'window':9,13 'winsaf':1","created_at":"2026-06-17T18:36:52.649660+00:00","updated_at":"2026-06-17T18:36:52.649660+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/rodrigocfd/winsafe","github":"https://github.com/rodrigocfd/winsafe","docs":"https://docs.rs/winsafe/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}