Cargo Features

[dependencies]
hid-io-protocol = { version = "0.1.6", default-features = false, features = ["device", "server", "defmt"] }
default = server

The server feature is set by default whenever hid-io-protocol is added without default-features = false somewhere in the dependency tree.

device

device feature is intended for embedded devices such as a Cortex-M4 device Strictly no_std

server default

server feature is intended for use with full user-space applications with access to std for loggging messages
Mostly no_std with some minor exceptions

defmt

Adds defmt support to useful enums and structs

Enables defmt, defmt-impl of heapless ^0.7, defmt of kll-core