[package]
name = "hid-io-protocol"
version = "0.1.6"
authors = ["Jacob Alexander <haata@kiibohd.com>"]
license = "MIT OR Apache-2.0"
description = """
HID-IO protocol implementation for both servers and devices.
Devices are optimized for Cortex-M devices, but may work for other platforms.
"""
categories = ["embedded", "no-std"]
homepage = "https://github.com/hid-io/hid-io-core"
repository = "https://github.com/hid-io/hid-io-core"
edition = "2021"
[lib]
name = "hid_io_protocol"
[features]
default = ["server"]
device = []
server = []
defmt = ["dep:defmt", "heapless/defmt-impl", "kll-core/defmt"]
[dependencies]
defmt = { version = "0.3", optional = true }
heapless = { version = "0.7" }
kll-core = { version = "0.1" }
log = { version = "0.4", default-features = false }
num_enum = { version = "0.5", default-features = false }
[dev-dependencies]
flexi_logger = "0.25"