embassy/embassy-usb-dfu/Cargo.toml

46 lines
1.5 KiB
TOML
Raw Normal View History

2023-12-13 19:40:49 +00:00
[package]
edition = "2021"
name = "embassy-usb-dfu"
version = "0.1.0"
description = "An implementation of the USB DFU 1.1 protocol, using embassy-boot"
license = "MIT OR Apache-2.0"
repository = "https://github.com/embassy-rs/embassy"
2024-01-11 23:32:47 +00:00
documentation = "https://docs.embassy.dev/embassy-usb-dfu"
2023-12-13 19:40:49 +00:00
categories = [
"embedded",
"no-std",
"asynchronous"
]
2024-01-26 13:23:51 +00:00
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb-dfu/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-dfu/src/"
features = ["defmt", "cortex-m"]
target = "thumbv7em-none-eabi"
flavors = [
{ name = "dfu", features = [ "dfu" ] },
{ name = "application", features = [ "application" ] },
]
[package.metadata.docs.rs]
features = ["defmt", "cortex-m", "dfu"]
2023-12-13 19:40:49 +00:00
[dependencies]
defmt = { version = "0.3.5", optional = true }
log = { version = "0.4.17", optional = true }
2023-12-13 19:40:49 +00:00
bitflags = "2.4.1"
cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true }
2024-01-11 23:53:46 +00:00
embassy-boot = { version = "0.2.0", path = "../embassy-boot" }
2023-12-13 19:40:49 +00:00
embassy-futures = { version = "0.1.1", path = "../embassy-futures" }
2024-05-29 10:09:55 +00:00
embassy-sync = { version = "0.6.0", path = "../embassy-sync" }
2024-06-04 06:57:16 +00:00
embassy-time = { version = "0.3.1", path = "../embassy-time" }
2024-04-23 17:48:16 +00:00
embassy-usb = { version = "0.2.0", path = "../embassy-usb", default-features = false }
2023-12-13 19:40:49 +00:00
embedded-storage = { version = "0.3.1" }
esp32c3-hal = { version = "0.13.0", optional = true, default-features = false }
2023-12-13 19:40:49 +00:00
[features]
2023-12-14 19:16:58 +00:00
dfu = []
2023-12-13 19:40:49 +00:00
application = []
defmt = ["dep:defmt"]