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