2022-03-09 01:34:35 +01:00
|
|
|
[package]
|
|
|
|
name = "embassy-usb"
|
|
|
|
version = "0.1.0"
|
2022-03-09 23:06:27 +01:00
|
|
|
edition = "2021"
|
2022-10-07 12:41:56 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-03-09 01:34:35 +01:00
|
|
|
|
2022-04-05 21:03:21 +02:00
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb/src/"
|
2022-06-26 23:55:38 +02:00
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb/src/"
|
2022-10-02 22:24:59 +02:00
|
|
|
features = ["defmt", "usbd-hid"]
|
2022-08-15 20:40:41 +02:00
|
|
|
target = "thumbv7em-none-eabi"
|
2022-04-05 21:03:21 +02:00
|
|
|
|
2022-09-26 12:29:27 +02:00
|
|
|
[features]
|
|
|
|
defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
|
2022-09-26 13:00:21 +02:00
|
|
|
usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"]
|
|
|
|
default = ["usbd-hid"]
|
2022-09-26 12:29:27 +02:00
|
|
|
|
2022-03-09 01:34:35 +01:00
|
|
|
[dependencies]
|
2022-08-22 21:46:09 +02:00
|
|
|
embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
|
2022-09-26 12:29:27 +02:00
|
|
|
embassy-usb-driver = { version = "0.1.0", path = "../embassy-usb-driver" }
|
2022-09-26 13:00:21 +02:00
|
|
|
embassy-sync = { version = "0.1.0", path = "../embassy-sync" }
|
2022-12-26 04:31:49 +01:00
|
|
|
embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-channel" }
|
2022-03-09 01:34:35 +01:00
|
|
|
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
log = { version = "0.4.14", optional = true }
|
2022-09-26 13:00:21 +02:00
|
|
|
heapless = "0.7.10"
|
|
|
|
|
|
|
|
# for HID
|
|
|
|
usbd-hid = { version = "0.6.0", optional = true }
|
|
|
|
ssmarshal = { version = "1.0", default-features = false, optional = true }
|