/
View dependency graph
Depends on
- dh-cargo (dh-sequence-cargo)
- rust-nom-7 (librust-nom-7-dev)
- rust-phf (librust-phf-0.11+default-dev)
- rust-phf-codegen (librust-phf-codegen-0.11+default-dev)
- rust-proc-macro2 (librust-proc-macro2-1+default-dev)
- rust-quote (librust-quote-1+default-dev)
- usb.ids (usb.ids)
- cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)
usb-ids
Cross-platform Rust wrappers for the USB ID Repository.
This library bundles the USB ID database, allowing platforms other than Linux to query it as a source of canonical USB metadata.
Usage
Iterating over all known vendors:
use usb_ids::Vendors;
for vendor in Vendors::iter() {
for device in vendor.devices() {
println!("vendor: {}, device: {}", vendor.name(), device.name());
}
}
See the documentation for more details.
| dir | .github/ |
| dir | debian/ |
| dir | src/ |
| file | .cargo_vcs_info.json |
| file | .gitignore |
| file | CHANGELOG.md |
| file | Cargo.lock |
| file | Cargo.toml |
| file | Cargo.toml.orig |
| file | LICENSE |
| file | README.md |
| file | build.rs |