Decision Workspace
key-mapping vs keyboard-layouts vs keycode
Side-by-side comparison of Rust crates
53
key-mapping
growingv0.7.1
Library allowing for keyboard key code conversion between systems such as the DOM and HID usage-ids
36
keyboard-layouts
growingv0.3.0
Keyboard layout keymaps with an API to generate HID packets
54
keycode
growingv1.0.0
A Rust crate for translating keycodes based on Chrome's mapping of keys.
Core Metrics
| key-mapping | keyboard-layouts | keycode | |
|---|---|---|---|
| Health Score | 53 | 36 | 54 |
| Total Downloads | 9.5K | 7.4K | 146.6K |
| 30d Downloads | 0 | 0 | 4.1K |
| Dependents | 0 | 0 | 109 |
| Releases | 12 | 4 | 9 |
| Last Updated | 58d ago | 2170d ago | 481d ago |
| Age | 2y 2m | 7y 4m | 7y 5m |
Health Breakdown
key-mapping
Maintenance
15
Quality
15
Community
6
Popularity
5
Documentation
12
keyboard-layouts
Maintenance
6
Quality
13
Community
3
Popularity
5
Documentation
9
keycode
Maintenance
5
Quality
19
Community
12
Popularity
6
Documentation
12
Technical Details
| key-mapping | keyboard-layouts | keycode | |
|---|---|---|---|
| Version | 0.7.1 | 0.3.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 10 | 11 | 5 |
| Crate Size | 17KB | 21KB | 5KB |
| Features | 3 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | 1.92.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •keycode leads with a health score of 54/100, but none of the options score above 80.
- •keycode is depended on by 109 crates — strongest ecosystem trust.
- •⚠ keyboard-layouts, keycode have not been updated in over a year.
- •key-mapping, keyboard-layouts are pre-1.0 — API may change.