Registry / other / libudev

libudev

JSON →
library0.3.0rscratesunverified

Rust wrapper for libudev, providing access to device enumeration and monitoring.

# Cargo.toml [dependencies] libudev = "0.3.0"
INSTALL
IMPORT
SIG · LIBUDEV
L
libudev
otherrustv0.3.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.

Context
use libudev::Context;

Creates a new libudev context for device interaction.

use libudev::Context; fn main() { let context = Context::new().unwrap(); println!("libudev context created"); }
Debug
Known issues
gotchaRequires libudev development headers installed on the system.
fix
Install libudev-dev (Linux) or equivalent.
affects: >=0.0.0
Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libudev — cargo add libudev · libregistry