53 lines
1.6 KiB
TOML
53 lines
1.6 KiB
TOML
[package]
|
|
name = "embassy-usb"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[package.metadata.embassy_docs]
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb/src/"
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb/src/"
|
|
features = ["defmt", "usbd-hid"]
|
|
target = "thumbv7em-none-eabi"
|
|
|
|
[features]
|
|
defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
|
|
usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"]
|
|
msos-descriptor = []
|
|
default = ["usbd-hid"]
|
|
|
|
# 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 = []
|
|
|
|
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 = []
|
|
|
|
# END AUTOGENERATED CONFIG FEATURES
|
|
|
|
[dependencies]
|
|
embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
|
|
embassy-usb-driver = { version = "0.1.0", path = "../embassy-usb-driver" }
|
|
embassy-sync = { version = "0.2.0", path = "../embassy-sync" }
|
|
embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-channel" }
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
log = { version = "0.4.14", optional = true }
|
|
heapless = "0.7.10"
|
|
|
|
# for HID
|
|
usbd-hid = { version = "0.6.0", optional = true }
|
|
ssmarshal = { version = "1.0", default-features = false, optional = true }
|