| Crates.io | rs-machineid |
| lib.rs | rs-machineid |
| version | 0.2.0 |
| created_at | 2025-12-10 06:41:39.852925+00 |
| updated_at | 2025-12-10 09:09:51.07036+00 |
| description | Get the unique machine ID of any host (without admin privileges). |
| homepage | https://github.com/xbmlz/rs-machineid |
| repository | https://github.com/xbmlz/rs-machineid |
| max_upload_size | |
| id | 1977604 |
| size | 19,689 |
Generate a unique machine ID for any host (without admin privileges).
Add rs-machineid to your Cargo.toml:
[dependencies]
rs-machineid = "0.2.0" # replace with latest version
To obtain the raw GUID of the device, use MachineId::get() or MachineId::get_hashed():
use rs_machineid::{MachineID};
println!("Machine ID: {}", MachineId::get());
println!("Machine ID Hash: {}", MachineId::get_hashed("test_app"));
Special thanks to Denis Brodbeck for his Go package, machineid.