1 unstable release
0.3.0 | Nov 16, 2022 |
---|
#800 in Operating systems
317 downloads per month
Used in tsar-sdk
6KB
80 lines
rust-hwid
A simple library to detect an OS equivalent of an Hardware ID
Currently supported
- Windows
- macOS
- Linux (dbus, systemd HWIDs)
TODO
Find a way to support *BSDs or ditch the function for them entirely
Usage
There is a single function: get_id()
An example is provided in the examples
folder.
lib.rs
:
Get a "Hardware ID" for the host machine. This is a UUID which is intended to uniquely represent this entity.
Dependencies
~0.2–0.9MB
~17K SLoC