Registry / other / windows-sys

windows-sys

JSON →
library0.61.2rscratesunverified

Rust for Windows - provides raw Windows API bindings for Rust.

# Cargo.toml [dependencies] windows-sys = "0.61.2"
INSTALL
IMPORT
SIG · WINDOWS-SYS
W
windows-sys
otherrustv0.61.2
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.

BOOL
use windows_sys::Win32::Foundation::BOOL;

Demonstrates importing and using a basic Windows type from windows-sys.

use windows_sys::Win32::Foundation::BOOL; fn main() { let value: BOOL = 1; println!("BOOL value: {}", value); }
Debug
Known issues
breakingRequires Windows target platform; will not compile on non-Windows systems.
fix
Use conditional compilation with #[cfg(target_os = "windows")].
affects: >=0.1.0
Upgrade
Version history
0.61.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
windows-sys — cargo add windows-sys · libregistry