Adding mac_keycode library as a dependency
Run this command in a terminal, in your project's directory:
cargo add mac-keycode
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
mac-keycode = "0.0.2"
The mac_keycode library will be automatically available globally.
Back to the crate overview.