Decision Workspace
key-mapping vs keyboard-layouts vs keycode
Side-by-side comparison of Rust crates
46
key-mapping
growingv0.4.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
53
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 | 46 | 36 | 53 |
| Total Downloads | 9.4K | 6.9K | 119.1K |
| 30d Downloads | 13 | 157 | 7.6K |
| Dependents | 0 | 0 | 53 |
| Releases | 8 | 4 | 9 |
| Last Updated | 546d ago | 2062d ago | 373d ago |
| Age | 1y 11m | 7y | 7y 2m |
Health Breakdown
key-mapping
Maintenance
7
Quality
16
Community
6
Popularity
5
Documentation
12
keyboard-layouts
Maintenance
6
Quality
13
Community
3
Popularity
5
Documentation
9
keycode
Maintenance
5
Quality
19
Community
11
Popularity
6
Documentation
12
Technical Details
| key-mapping | keyboard-layouts | keycode | |
|---|---|---|---|
| Version | 0.4.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 | 7 | 11 | 5 |
| Crate Size | 11KB | 21KB | 5KB |
| Features | 2 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | 1.77.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •keycode leads with a health score of 53/100, but none of the options score above 80.
- •⚠ key-mapping, keyboard-layouts, keycode have not been updated in over a year.
- •key-mapping, keyboard-layouts are pre-1.0 — API may change.