DioxusLabs / DioxusLabs/dioxus

Upgrade keyboard-types to 0.8?

Open
#5,741 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## Feature Request

**What:** The [`keyboard-types` crate](https://crates.io/crates/keyboard-types) started publishing 0.8.x in April 2025. Should Dioxus upgrade to it?

**Consideration:** The `Key` type isn't directly compatible between `keyboard-types` 0.7 ([docs][docs7]) and 0.8.x ([docs][docs8]). Should Dioxus update, or would it be too disruptive to Dioxus' ecosystem?

[docs7]: https://docs.rs/keyboard-types/0.7.0/keyboard_types/enum.Key.html
[docs8]: https://docs.rs/keyboard-types/0.8.3/keyboard_types/enum.Key.html

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing keyboard-types 0.7 and 0.8.3 through the linked crate documentation, then trace Dioxus uses of the Key type and the dependency. Done means reaching a documented upgrade decision that accounts for compatibility with Dioxus consumers and the required scope of any changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.