Registry / utility / machine-uid

machine-uid

JSON →
library0.5.4rscratesunverified

Get the OS native machine ID without requiring root permissions.

# Cargo.toml [dependencies] machine-uid = "0.5.4"
INSTALL
IMPORT
SIG · MACHINE-UID
M
machine-uid
utilityrustv0.5.4
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.

get_machine_uid
use machine_uid::get_machine_uid;

Retrieve the machine's unique identifier.

use machine_uid::get_machine_uid; fn main() { match get_machine_uid() { Ok(uid) => println!("Machine UID: {}", uid), Err(e) => eprintln!("Error: {}", e), } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
machine-uid — cargo add machine-uid · libregistry