Cargo Features

[dependencies]
key-mapping = { version = "0.4.1", default-features = false, features = ["std", "serde", "usbd-hid"] }
default = std

The std feature is set by default whenever key-mapping is added without default-features = false somewhere in the dependency tree.

std default

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

usbd-hid implicit feature

Enables usbd-hid

usbd-hid:

A HID class for use with usb-device