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 wheneverhid-io-protocol
is added without
somewhere in the dependency tree.default-features = false - 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