#usb-device #descriptor #hid #macro #proc-macro #procedural #usbd-hid

macro no-std usbd-hid-macros

Internal crate: contains procedural macros for HID descriptors. Use the usbd-hid crate instead, these macros are re-exported there.

23 releases

0.8.2 Jul 16, 2024
0.7.1 Jul 19, 2024
0.6.0 Oct 15, 2022
0.5.2 Sep 24, 2021
0.4.2 Mar 18, 2020

#64 in #descriptor

Download history 1224/week @ 2024-11-15 1838/week @ 2024-11-22 1607/week @ 2024-11-29 2280/week @ 2024-12-06 2666/week @ 2024-12-13 1832/week @ 2024-12-20 1284/week @ 2024-12-27 2804/week @ 2025-01-03 2698/week @ 2025-01-10 2475/week @ 2025-01-17 1673/week @ 2025-01-24 1678/week @ 2025-01-31 3188/week @ 2025-02-07 2896/week @ 2025-02-14 2737/week @ 2025-02-21 2386/week @ 2025-02-28

11,586 downloads per month
Used in 32 crates (via usbd-hid)

MIT/Apache

54KB
1K SLoC

usbd-hid

Crates.io usbd-hid

USB HID implementation for usb-device.

Also implements a cheeky procedural macro for generating HID descriptors.

Examples:


lib.rs:

Internal implementation details of usbd-hid.

Dependencies

~3.5MB
~68K SLoC