@@ -14,14 +14,14 @@ readme = "../../README.md"
1414[package .metadata .docs .rs ]
1515rustdoc-args = [" --cfg" , " doc_cfg" ]
1616features = [
17- " test-utils" ,
18- " use-std" ,
19- " cobs-serial" ,
20- " raw-nusb" ,
21- " embassy-usb-0_5-server" ,
22- " embedded-io-async-0_6-server" ,
23- " _docs-fix" ,
24- # TODO: What to do about the webusb feature? Can we do separate target builds?
17+ " test-utils" ,
18+ " use-std" ,
19+ " cobs-serial" ,
20+ " raw-nusb" ,
21+ " embassy-usb-0_5-server" ,
22+ " embedded-io-async-0_6-server" ,
23+ " _docs-fix" ,
24+ # TODO: What to do about the webusb feature? Can we do separate target builds?
2525]
2626
2727[dependencies ]
@@ -45,7 +45,7 @@ version = "5.4.4"
4545optional = true
4646
4747[dependencies .maitake-sync ]
48- version = " 0.1 .2"
48+ version = " 0.2 .2"
4949optional = true
5050
5151[dependencies .tokio ]
@@ -61,6 +61,7 @@ optional = true
6161version = " 0.3.69"
6262optional = true
6363
64+
6465[dependencies .thiserror ]
6566version = " 2"
6667default-features = false
@@ -70,22 +71,22 @@ default-features = false
7071version = " 0.3.69"
7172optional = true
7273features = [
73- " Element" ,
74- " Navigator" ,
75- ' Usb' ,
76- ' UsbAlternateInterface' ,
77- ' UsbConfiguration' ,
78- ' UsbDeviceRequestOptions' ,
79- ' UsbDevice' ,
80- ' UsbDirection' ,
81- ' UsbEndpoint' ,
82- ' UsbInTransferResult' ,
83- ' UsbControlTransferParameters' ,
84- ' UsbOutTransferResult' ,
85- ' UsbInterface' ,
86- ' UsbRecipient' ,
87- ' UsbRequestType' ,
88- " UsbTransferStatus" ,
74+ " Element" ,
75+ " Navigator" ,
76+ ' Usb' ,
77+ ' UsbAlternateInterface' ,
78+ ' UsbConfiguration' ,
79+ ' UsbDeviceRequestOptions' ,
80+ ' UsbDevice' ,
81+ ' UsbDirection' ,
82+ ' UsbEndpoint' ,
83+ ' UsbInTransferResult' ,
84+ ' UsbControlTransferParameters' ,
85+ ' UsbOutTransferResult' ,
86+ ' UsbInterface' ,
87+ ' UsbRecipient' ,
88+ ' UsbRequestType' ,
89+ " UsbTransferStatus" ,
8990]
9091
9192[dependencies .gloo ]
@@ -168,14 +169,14 @@ features = ["std"]
168169default = []
169170test-utils = [" use-std" , " postcard-schema/use-std" ]
170171use-std = [
171- " dep:maitake-sync" ,
172- " dep:tokio" ,
173- " postcard/use-std" ,
174- " postcard-schema/use-std" ,
175- " thiserror/std" ,
176- " dep:tracing" ,
177- " dep:trait-variant" ,
178- " dep:ssmarshal" ,
172+ " dep:maitake-sync" ,
173+ " dep:tokio" ,
174+ " postcard/use-std" ,
175+ " postcard-schema/use-std" ,
176+ " thiserror/std" ,
177+ " dep:tracing" ,
178+ " dep:trait-variant" ,
179+ " dep:ssmarshal" ,
179180]
180181
181182# Cobs Serial support.
@@ -203,31 +204,31 @@ raw-nusb = ["dep:nusb", "use-std"]
203204# rustflags = "--cfg=web_sys_unstable_apis"
204205# ```
205206webusb = [
206- " dep:gloo" ,
207- " dep:web-sys" ,
208- " dep:serde_json" ,
209- " dep:wasm-bindgen" ,
210- " dep:wasm-bindgen-futures" ,
211- " dep:js-sys" ,
212- " use-std" ,
207+ " dep:gloo" ,
208+ " dep:web-sys" ,
209+ " dep:serde_json" ,
210+ " dep:wasm-bindgen" ,
211+ " dep:wasm-bindgen-futures" ,
212+ " dep:js-sys" ,
213+ " use-std" ,
213214]
214215
215216embassy-usb-0_5-server = [
216- " dep:embassy-usb-0_5" ,
217- " dep:embassy-sync-0_7" ,
218- " dep:static_cell" ,
219- " dep:embassy-usb-driver-0_2" ,
220- " dep:embassy-executor" ,
221- " dep:embassy-time" ,
222- " dep:embassy-futures" ,
217+ " dep:embassy-usb-0_5" ,
218+ " dep:embassy-sync-0_7" ,
219+ " dep:static_cell" ,
220+ " dep:embassy-usb-driver-0_2" ,
221+ " dep:embassy-executor" ,
222+ " dep:embassy-time" ,
223+ " dep:embassy-futures" ,
223224]
224225
225226embedded-io-async-0_6-server = [
226- " dep:embassy-sync-0_7" ,
227- " dep:static_cell" ,
228- " dep:embassy-executor" ,
229- " dep:embedded-io-async-0_6" ,
230- " cobs" ,
227+ " dep:embassy-sync-0_7" ,
228+ " dep:static_cell" ,
229+ " dep:embassy-executor" ,
230+ " dep:embedded-io-async-0_6" ,
231+ " cobs" ,
231232]
232233
233234# NOTE: This exists because `embassy-usb` indirectly relies on ssmarshal
0 commit comments