keyboard-types

Types to define keyboard related events

Latest version: 0.8.3 registry icon
Maintenance score
17
Safety score
100
Popularity score
73
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.8.3 0 0 0 0 0
0.8.2 0 0 0 0 0
0.8.1 0 0 0 0 0
0.8.0 0 0 0 0 0
0.7.0 0 0 0 0 0
0.6.2 0 0 0 0 0
0.6.1 0 0 0 0 0
0.6.0 0 0 0 0 0
0.5.0 0 0 0 0 0
0.4.4 0 0 0 0 0
0.4.3 0 0 0 0 0
0.4.2-servo 0 0 0 0 0
0.4.1-servo 0 0 0 0 0
0.4.0-servo 0 0 0 0 0
0.3.0 0 0 0 0 0
0.2.0 0 0 0 0 0
0.1.2 0 0 0 0 0
0.1.1 0 0 0 0 0
0.1.0 0 0 0 0 0

Stability
Latest release:

0.8.3 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Apache-2.0   -   Apache License 2.0

Not a wildcard

Not proprietary

OSI Compliant


MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



Keyboard Types

Build Status crates.io Documentation

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.

See also: UI Events specification, and in particular the section on keyboard events.

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.

Updating Generated Code

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

in the most recent version. A Python 3 script (requires the requests and beautifulsoup4 libraries) downloads the files and updates the tables.

Manually check if any modifier keys were changed and update the src/modifiers.rs file if necessary.