aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/Cargo.toml
diff options
context:
space:
mode:
authoralexmoon <[email protected]>2023-02-02 16:13:16 -0500
committeralexmoon <[email protected]>2023-02-07 14:24:35 -0500
commit9f9230ae7abb545822e59c6f06cabb721b63e0a1 (patch)
tree0505e1793cef698a671a5b12f7567066a901eb7b /embassy-usb/Cargo.toml
parentb9ecdb72bb55792a8fa5a0bace8cdad498fee9b0 (diff)
Convert MS OS descriptor builder to a writer API
This brings it inline with the other embassy-usb descriptor APIs and allows it to integrate well with the Builder to allow class constructors to add MS OS descriptors. Also adds a `usb_serial_winusb` example to demonstrate how to use the API.
Diffstat (limited to 'embassy-usb/Cargo.toml')
-rw-r--r--embassy-usb/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml
index 31d1f4cae..54a8f27c7 100644
--- a/embassy-usb/Cargo.toml
+++ b/embassy-usb/Cargo.toml
@@ -13,6 +13,7 @@ target = "thumbv7em-none-eabi"
13[features] 13[features]
14defmt = ["dep:defmt", "embassy-usb-driver/defmt"] 14defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
15usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"] 15usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"]
16msos-descriptor = ["dep:widestring"]
16default = ["usbd-hid"] 17default = ["usbd-hid"]
17 18
18[dependencies] 19[dependencies]
@@ -24,7 +25,7 @@ embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-
24defmt = { version = "0.3", optional = true } 25defmt = { version = "0.3", optional = true }
25log = { version = "0.4.14", optional = true } 26log = { version = "0.4.14", optional = true }
26heapless = "0.7.10" 27heapless = "0.7.10"
27widestring = { version = "1.0.2", default-features = false } 28widestring = { version = "1.0.2", default-features = false, optional = true }
28 29
29# for HID 30# for HID
30usbd-hid = { version = "0.6.0", optional = true } 31usbd-hid = { version = "0.6.0", optional = true }