diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-09-26 13:00:21 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-09-26 13:00:21 +0200 |
| commit | f27a47a37b59bf3b9079f4d4d5f43caf7b7872f8 (patch) | |
| tree | 732f73b4da7a2e726203f2876651a2141d9468be /embassy-usb/Cargo.toml | |
| parent | f4f58249722bc656a13865e06535d208440c3e4a (diff) | |
usb: move classes into the `embassy-usb` crate.
Diffstat (limited to 'embassy-usb/Cargo.toml')
| -rw-r--r-- | embassy-usb/Cargo.toml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml index 660ecc8cc..aad54dbaf 100644 --- a/embassy-usb/Cargo.toml +++ b/embassy-usb/Cargo.toml | |||
| @@ -11,11 +11,18 @@ target = "thumbv7em-none-eabi" | |||
| 11 | 11 | ||
| 12 | [features] | 12 | [features] |
| 13 | defmt = ["dep:defmt", "embassy-usb-driver/defmt"] | 13 | defmt = ["dep:defmt", "embassy-usb-driver/defmt"] |
| 14 | usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"] | ||
| 15 | default = ["usbd-hid"] | ||
| 14 | 16 | ||
| 15 | [dependencies] | 17 | [dependencies] |
| 16 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } | 18 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } |
| 17 | embassy-usb-driver = { version = "0.1.0", path = "../embassy-usb-driver" } | 19 | embassy-usb-driver = { version = "0.1.0", path = "../embassy-usb-driver" } |
| 20 | embassy-sync = { version = "0.1.0", path = "../embassy-sync" } | ||
| 18 | 21 | ||
| 19 | defmt = { version = "0.3", optional = true } | 22 | defmt = { version = "0.3", optional = true } |
| 20 | log = { version = "0.4.14", optional = true } | 23 | log = { version = "0.4.14", optional = true } |
| 21 | heapless = "0.7.10" \ No newline at end of file | 24 | heapless = "0.7.10" |
| 25 | |||
| 26 | # for HID | ||
| 27 | usbd-hid = { version = "0.6.0", optional = true } | ||
| 28 | ssmarshal = { version = "1.0", default-features = false, optional = true } | ||
