diff --git a/Cargo.lock b/Cargo.lock index 83f173eb2..7718f17ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -606,6 +606,15 @@ dependencies = [ "num_enum_derive 0.5.11", ] +[[package]] +name = "num_enum" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" +dependencies = [ + "num_enum_derive 0.6.1", +] + [[package]] name = "num_enum" version = "0.7.1" @@ -626,6 +635,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "num_enum_derive" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "num_enum_derive" version = "0.7.1" @@ -643,6 +663,12 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +[[package]] +name = "portable-atomic" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bccab0e7fd7cc19f820a1c8c91720af652d0c88dc9664dd72aef2614f04af3b" + [[package]] name = "postcard" version = "1.0.8" @@ -954,7 +980,7 @@ dependencies = [ "spin", "stm32h7xx-hal", "systick-monotonic", - "usb-device", + "usb-device 0.3.1", "usbd-serial", ] @@ -1027,7 +1053,7 @@ checksum = "678f3707a7b1fd4863023292c42f73c6bab0e9b0096f41ae612d1af0ff221b45" dependencies = [ "cortex-m 0.7.7", "embedded-hal", - "usb-device", + "usb-device 0.2.9", "vcell", ] @@ -1066,6 +1092,17 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f6cc3adc849b5292b4075fc0d5fdcf2f24866e88e336dd27a8943090a520508" +[[package]] +name = "usb-device" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e73e438f527e567fb3982f2370967821fab4f5aea84c42e218a211dd2002b6a2" +dependencies = [ + "heapless", + "num_enum 0.6.1", + "portable-atomic", +] + [[package]] name = "usbd-serial" version = "0.1.1" @@ -1074,7 +1111,7 @@ checksum = "db75519b86287f12dcf0d171c7cf4ecc839149fe9f3b720ac4cfce52959e1dfe" dependencies = [ "embedded-hal", "nb 0.1.3", - "usb-device", + "usb-device 0.2.9", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 9e9531bbc..524ce2464 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ rand_xorshift = "0.3.0" rand_core = "0.6.4" minimq = "0.8.0" # patch with https://github.com/rust-embedded-community/usb-device/pull/129 -usb-device = "0.2.9" +usb-device = "0.3.1" usbd-serial = "0.1.1" # Keep this synced with the miniconf version in py/setup.py miniconf = "0.9.0"