Decision Workspace
usbd-serial vs usbd-hid vs usbd-hid-macros
Side-by-side comparison of Rust crates
48
usbd-serial
growingv0.2.2
USB CDC-ACM serial port class for use with usb-device.
59
usbd-hid
growingv0.10.0
A HID class for use with usb-device.
53
usbd-hid-macros
growingv0.10.0
Internal crate: contains procedural macros for HID descriptors. Use the `usbd-hid` crate instead, these macros are re-exported there.
Core Metrics
| usbd-serial | usbd-hid | usbd-hid-macros | |
|---|---|---|---|
| Health Score | 48 | 59 | 53 |
| Total Downloads | 668.7K | 844.9K | 823.3K |
| 30d Downloads | 14.6K | 87.6K | 87.4K |
| Dependents | 521 | 178 | 31 |
| Releases | 5 | 31 | 25 |
| Last Updated | 704d ago | 11d ago | 11d ago |
| Age | 6y 8m | 6y 1m | 6y 1m |
Health Breakdown
usbd-serial
Maintenance
4
Quality
14
Community
14
Popularity
7
Documentation
9
usbd-hid
Maintenance
17
Quality
16
Community
9
Popularity
7
Documentation
10
usbd-hid-macros
Maintenance
17
Quality
13
Community
9
Popularity
7
Documentation
7
Technical Details
| usbd-serial | usbd-hid | usbd-hid-macros | |
|---|---|---|---|
| Version | 0.2.2 | 0.10.0 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 8 |
| Crate Size | 11KB | 21KB | 14KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 4 (team) | 1 | 1 |
Links
Quick Verdict
- •usbd-hid leads with a health score of 59/100, but none of the options score above 80.
- •usbd-serial is depended on by 521 crates — strongest ecosystem trust.
- •⚠ usbd-serial has not been updated in over a year.