Crates.io | sysfs-serde |
lib.rs | sysfs-serde |
version | 0.2.3 |
source | src |
created_at | 2020-09-06 12:21:34.461458 |
updated_at | 2021-03-28 14:52:28.601683 |
description | This crate Deserializes most common SysFS path's to Rust data types |
homepage | https://gitlab.com/mike7b4/sysfs-serde.git |
repository | https://gitlab.com/mike7b4/sysfs-serde.git |
max_upload_size | |
id | 285396 |
size | 27,655 |
This crate try to Deserialize SysFs device path's to Rust data types. The Rust data types can then be serialized to JSON, TOML, YAML etc...
Note that unknown fields will be stored in raw format in a HashMap<String, String>
.
This crate can be used to lookup USB/PCI devices.
For example this crate is currently used by usbapi-rs to find USB devices on a Linux Host.
See a documentation and example how to use this crate.
Feel free to add other OS'es.
See SysFsType and documentation what path's is supported.