mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-06-09 17:09:26 +00:00
advanced: use crates.io version of usb2 crate
This commit is contained in:
parent
2758be8412
commit
9161e82246
|
@ -8,7 +8,7 @@ version = "0.0.0"
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
consts = { path = "../common/consts" }
|
consts = { path = "../common/consts" }
|
||||||
quote = "1"
|
quote = "1"
|
||||||
usb2 = { git = "https://github.com/japaric/usb2" }
|
usb2 = "0.0.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
consts = { path = "../common/consts" }
|
consts = { path = "../common/consts" }
|
||||||
|
@ -20,7 +20,7 @@ heapless = "0.5.5"
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
panic-log = { path = "../../common/panic-log" }
|
panic-log = { path = "../../common/panic-log" }
|
||||||
usb = { path = "../common/usb" }
|
usb = { path = "../common/usb" }
|
||||||
usb2 = { git = "https://github.com/japaric/usb2" }
|
usb2 = "0.0.1"
|
||||||
|
|
||||||
# optimize code in both profiles
|
# optimize code in both profiles
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
|
|
Loading…
Reference in a new issue