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
46
key-mapping
growingv0.4.1
Library allowing for keyboard key code conversion between systems such as the DOM and HID usage-ids
53
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 | 46 | 53 |
| Total Downloads | 6.9K | 9.4K | 119.1K |
| 30d Downloads | 157 | 13 | 7.6K |
| Dependents | 0 | 0 | 53 |
| Releases | 4 | 8 | 9 |
| Last Updated | 2062d ago | 546d ago | 373d ago |
| Age | 7y | 1y 11m | 7y 2m |
Health Breakdown
keyboard-layouts
Maintenance
6
Quality
13
Community
3
Popularity
5
Documentation
9
key-mapping
Maintenance
7
Quality
16
Community
6
Popularity
5
Documentation
12
keycode
Maintenance
5
Quality
19
Community
11
Popularity
6
Documentation
12
Technical Details
| keyboard-layouts | key-mapping | keycode | |
|---|---|---|---|
| Version | 0.3.0 | 0.4.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 11 | 7 | 5 |
| Crate Size | 21KB | 11KB | 5KB |
| Features | 0 | 2 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 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.
- •⚠ keyboard-layouts, key-mapping, keycode have not been updated in over a year.
- •keyboard-layouts, key-mapping are pre-1.0 — API may change.