0.5.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
Apache-2.0 - Apache License 2.0devices
is a cross-platform library for retrieving information about connected devices.
Combined with a library like sysinfo, a more or less complete description of a system's hardware can be gathered.
lspci
and lsusb
required)Wine provides the APIs this library needs to function, but it does not return all the information necessary to build the DeviceInfo
struct. When running on Wine, all device-retrieving methods will return Error::UnsupportedPlatform
.
On Linux, this library works by creating a subprocess to gather device information and parsing the result. Pulling device information from a platform-specific API would be preferred. PRs welcome.
bincode
: Support for bincode v2 encoding and decoding. Enabled by default.serde
: Support for serde serialization and deserialization. Enabled by default.devices
is dual-licensed under MIT and Apache-2.0.