Registry / other / windows-devices

windows-devices

JSON →
library0.23.0rscratesunverified

Rust bindings for Windows Devices APIs, enabling interaction with hardware and sensors.

# Cargo.toml [dependencies] windows-devices = "0.23.0"
INSTALL
IMPORT
SIG · WINDOWS-DEVICES
W
windows-devices
otherrustv0.23.0
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.

Bluetooth
✓ use windows_devices::devices::Bluetooth;

Initialize a Bluetooth device adapter and print its information.

use windows_devices::devices::Bluetooth; fn main() -> windows::core::Result<()> { let bluetooth = Bluetooth::new()?; println!("Bluetooth adapter: {:?}", bluetooth); Ok(()) }
Debug
Known issues
gotchaOnly works on Windows; requires Windows SDK and appropriate permissions.
fix
Ensure running on Windows with developer mode enabled.
affects: >=0.23.0
Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
windows-devices — cargo add windows-devices · libregistry