Registry / other / winsafe

winsafe

JSON →
library0.0.27rscratesunverified

Safe and idiomatic Rust bindings for the Windows API and GUI.

# Cargo.toml [dependencies] winsafe = "0.0.27"
INSTALL
IMPORT
SIG · WINSAFE
W
winsafe
otherrustv0.0.27
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prelude
use winsafe::prelude::*;

Imports the Winsafe prelude and uses a window handle.

use winsafe::prelude::*; use winsafe::HWND; fn main() { let hwnd = HWND::NULL; println!("Window handle: {:?}", hwnd); }
Debug
Known issues
gotchaRequires Windows target; will not compile on other platforms.
fix
Ensure your build target is a Windows triple (e.g., x86_64-pc-windows-msvc).
affects: >=0.0.1
Upgrade
Version history
0.0.27latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
winsafe — cargo add winsafe · libregistry