Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ Keyboard Types

Contains types to define keyboard related events.

The naming and conventions follow the UI Events specification
but this crate should be useful for anyone implementing keyboard
input in a cross-platform way.
The naming and conventions follow the UI Events specification but this crate
should be useful for anyone implementing keyboard input in a cross-platform way.

See also: [UI Events Specification](https://w3c.github.io/uievents/), and in
particular [the section on keyboard events](https://w3c.github.io/uievents/#keys).
See also: [UI Events specification](https://w3c.github.io/uievents/), and in
particular
[the section on keyboard events](https://w3c.github.io/uievents/#keys).

Minimum Support Rust Version (MSRV)
-----------------------------------
Minimum Supported Rust Version (MSRV)
-------------------------------------

The minimum supported Rust version is 1.61, or 1.81 if the `"std"` Cargo
feature is disabled. This is not defined by policy, and may change at any time
in a patch release.
The minimum supported Rust version is 1.61, or 1.81 if the `"std"` Cargo feature
is disabled. This is not defined by policy, and may change at any time in a
patch release.

Updating Generated Code
-----------------------

The file `src/key.rs` and `src/code.rs` are derived from the two
W3C working drafts
The file `src/key.rs` and `src/code.rs` are derived from the two W3C working
drafts:

* [UI Events KeyboardEvent key Values](https://w3c.github.io/uievents-key/) and
* [UI Events KeyboardEvent key Values](https://w3c.github.io/uievents-key/)
* [UI Events KeyboardEvent code Values](https://w3c.github.io/uievents-code/)

in the most recent version. A Python 3 script (requires the `requests` and
Expand Down