diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-01-26 14:23:51 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-01-26 14:23:51 +0100 |
| commit | adb024bdbe49ba77b3f30af016c0c2ee184f456b (patch) | |
| tree | b0eaaa86ca866a78287340bfdf81a941887dc980 /embassy-usb-dfu | |
| parent | 73cfa8f8a9b1c462c829b82a534af96cc652bb39 (diff) | |
usb-dfu: add docs metadata.
Diffstat (limited to 'embassy-usb-dfu')
| -rw-r--r-- | embassy-usb-dfu/Cargo.toml | 14 |
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] |
| 16 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb-dfu/src/" | ||
| 17 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-dfu/src/" | ||
| 18 | features = ["defmt", "cortex-m"] | ||
| 19 | target = "thumbv7em-none-eabi" | ||
| 20 | flavors = [ | ||
| 21 | { name = "dfu", features = [ "dfu" ] }, | ||
| 22 | { name = "application", features = [ "application" ] }, | ||
| 23 | ] | ||
| 24 | |||
| 25 | [package.metadata.docs.rs] | ||
| 26 | features = ["defmt", "cortex-m", "dfu"] | ||
| 16 | 27 | ||
| 17 | [dependencies] | 28 | [dependencies] |
| 18 | bitflags = "2.4.1" | 29 | bitflags = "2.4.1" |
| 19 | cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true } | 30 | cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true } |
| 20 | defmt = { version = "0.3.5", optional = true } | 31 | defmt = { version = "0.3.5", optional = true } |
| 21 | embassy-boot = { version = "0.2.0", path = "../embassy-boot" } | 32 | embassy-boot = { version = "0.2.0", path = "../embassy-boot" } |
| 22 | # embassy-embedded-hal = { version = "0.1.0", path = "../embassy-embedded-hal" } | ||
| 23 | embassy-futures = { version = "0.1.1", path = "../embassy-futures" } | 33 | embassy-futures = { version = "0.1.1", path = "../embassy-futures" } |
| 24 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } | 34 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
| 25 | embassy-time = { version = "0.3.0", path = "../embassy-time" } | 35 | embassy-time = { version = "0.3.0", path = "../embassy-time" } |
