30 releases

0.9.0 Nov 4, 2025
0.8.2 Jul 16, 2024
0.7.1 Jul 19, 2024
0.7.0 Nov 13, 2023
0.4.2 Mar 18, 2020

#126 in Hardware support

Download history 15502/week @ 2025-11-19 16969/week @ 2025-11-26 11645/week @ 2025-12-03 22303/week @ 2025-12-10 14716/week @ 2025-12-17 12058/week @ 2025-12-24 16878/week @ 2025-12-31 13953/week @ 2026-01-07 12376/week @ 2026-01-14 13648/week @ 2026-01-21 14139/week @ 2026-01-28 29664/week @ 2026-02-04 18657/week @ 2026-02-11 19672/week @ 2026-02-18 21563/week @ 2026-02-25 19811/week @ 2026-03-04

84,399 downloads per month
Used in 49 crates (19 directly)

MIT/Apache

78KB
1.5K SLoC

HID report descriptor generation & USB HID class implementation

This crate implements components necessary to build a USB HID device. This includes generation of the report descriptor, serialization of input reports, and communicating with a host that implements USB HID.


usbd-hid

Crates.io usbd-hid

USB HID implementation for usb-device.

Also implements a cheeky procedural macro for generating HID descriptors.

Examples:

Dependencies

~6MB
~110K SLoC