aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-usb-dfu/Cargo.toml')
-rw-r--r--embassy-usb-dfu/Cargo.toml14
1 files changed, 12 insertions, 2 deletions
diff --git a/embassy-usb-dfu/Cargo.toml b/embassy-usb-dfu/Cargo.toml
index 1ca5fea42..4d6ffeb5f 100644
--- a/embassy-usb-dfu/Cargo.toml
+++ b/embassy-usb-dfu/Cargo.toml
@@ -12,14 +12,24 @@ categories = [
12 "asynchronous" 12 "asynchronous"
13] 13]
14 14
15# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 15[package.metadata.embassy_docs]
16src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb-dfu/src/"
17src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-dfu/src/"
18features = ["defmt", "cortex-m"]
19target = "thumbv7em-none-eabi"
20flavors = [
21 { name = "dfu", features = [ "dfu" ] },
22 { name = "application", features = [ "application" ] },
23]
24
25[package.metadata.docs.rs]
26features = ["defmt", "cortex-m", "dfu"]
16 27
17[dependencies] 28[dependencies]
18bitflags = "2.4.1" 29bitflags = "2.4.1"
19cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true } 30cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true }
20defmt = { version = "0.3.5", optional = true } 31defmt = { version = "0.3.5", optional = true }
21embassy-boot = { version = "0.2.0", path = "../embassy-boot" } 32embassy-boot = { version = "0.2.0", path = "../embassy-boot" }
22# embassy-embedded-hal = { version = "0.1.0", path = "../embassy-embedded-hal" }
23embassy-futures = { version = "0.1.1", path = "../embassy-futures" } 33embassy-futures = { version = "0.1.1", path = "../embassy-futures" }
24embassy-sync = { version = "0.5.0", path = "../embassy-sync" } 34embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
25embassy-time = { version = "0.3.0", path = "../embassy-time" } 35embassy-time = { version = "0.3.0", path = "../embassy-time" }