Lazily encode UTF16 values and add docs

This commit is contained in:
alexmoon
2023-02-07 14:19:51 -05:00
parent 9f9230ae7a
commit aa21aebb0b
3 changed files with 166 additions and 180 deletions

View File

@ -13,7 +13,7 @@ target = "thumbv7em-none-eabi"
[features]
defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"]
msos-descriptor = ["dep:widestring"]
msos-descriptor = []
default = ["usbd-hid"]
[dependencies]
@ -25,7 +25,6 @@ embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-
defmt = { version = "0.3", optional = true }
log = { version = "0.4.14", optional = true }
heapless = "0.7.10"
widestring = { version = "1.0.2", default-features = false, optional = true }
# for HID
usbd-hid = { version = "0.6.0", optional = true }