2022-03-09 00:34:35 +00:00
|
|
|
[package]
|
|
|
|
name = "embassy-usb"
|
|
|
|
version = "0.1.0"
|
2022-03-09 22:06:27 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2024-01-11 23:32:47 +00:00
|
|
|
description = "Async USB device stack for embedded devices in Rust."
|
|
|
|
keywords = ["embedded", "async", "usb", "hal", "embedded-hal"]
|
2024-01-11 23:35:01 +00:00
|
|
|
categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
|
2024-01-11 23:32:47 +00:00
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
documentation = "https://docs.embassy.dev/embassy-usb"
|
2022-03-09 00:34:35 +00:00
|
|
|
|
2022-04-05 19:03:21 +00:00
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb/src/"
|
2022-06-26 21:55:38 +00:00
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb/src/"
|
2022-10-02 20:24:59 +00:00
|
|
|
features = ["defmt", "usbd-hid"]
|
2022-08-15 18:40:41 +00:00
|
|
|
target = "thumbv7em-none-eabi"
|
2022-04-05 19:03:21 +00:00
|
|
|
|
2024-01-11 22:16:28 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["defmt", "usbd-hid"]
|
|
|
|
|
2022-09-26 10:29:27 +00:00
|
|
|
[features]
|
|
|
|
defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
|
2022-09-26 11:00:21 +00:00
|
|
|
usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"]
|
|
|
|
default = ["usbd-hid"]
|
2022-09-26 10:29:27 +00:00
|
|
|
|
2023-02-07 19:49:10 +00:00
|
|
|
# BEGIN AUTOGENERATED CONFIG FEATURES
|
|
|
|
# Generated by gen_config.py. DO NOT EDIT.
|
|
|
|
max-interface-count-1 = []
|
|
|
|
max-interface-count-2 = []
|
|
|
|
max-interface-count-3 = []
|
|
|
|
max-interface-count-4 = [] # Default
|
|
|
|
max-interface-count-5 = []
|
|
|
|
max-interface-count-6 = []
|
|
|
|
max-interface-count-7 = []
|
|
|
|
max-interface-count-8 = []
|
|
|
|
|
2023-02-07 21:49:14 +00:00
|
|
|
max-handler-count-1 = []
|
|
|
|
max-handler-count-2 = []
|
|
|
|
max-handler-count-3 = []
|
|
|
|
max-handler-count-4 = [] # Default
|
|
|
|
max-handler-count-5 = []
|
|
|
|
max-handler-count-6 = []
|
|
|
|
max-handler-count-7 = []
|
|
|
|
max-handler-count-8 = []
|
|
|
|
|
2023-02-07 19:49:10 +00:00
|
|
|
# END AUTOGENERATED CONFIG FEATURES
|
|
|
|
|
2022-03-09 00:34:35 +00:00
|
|
|
[dependencies]
|
2022-08-22 19:46:09 +00:00
|
|
|
embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
|
2022-09-26 10:29:27 +00:00
|
|
|
embassy-usb-driver = { version = "0.1.0", path = "../embassy-usb-driver" }
|
2023-12-04 13:03:30 +00:00
|
|
|
embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
|
2023-10-15 17:38:42 +00:00
|
|
|
embassy-net-driver-channel = { version = "0.2.0", path = "../embassy-net-driver-channel" }
|
2022-03-09 00:34:35 +00:00
|
|
|
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
log = { version = "0.4.14", optional = true }
|
2023-11-08 21:59:58 +00:00
|
|
|
heapless = "0.8"
|
2022-09-26 11:00:21 +00:00
|
|
|
|
|
|
|
# for HID
|
|
|
|
usbd-hid = { version = "0.6.0", optional = true }
|
|
|
|
ssmarshal = { version = "1.0", default-features = false, optional = true }
|