diff options
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index ce5e2741f..d190c95a3 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -14,7 +14,7 @@ categories = [ | |||
| 14 | [package.metadata.embassy_docs] | 14 | [package.metadata.embassy_docs] |
| 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" | 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" |
| 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" | 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" |
| 17 | features = ["nightly", "defmt", "pender-callback"] | 17 | features = ["nightly", "defmt"] |
| 18 | flavors = [ | 18 | flavors = [ |
| 19 | { name = "std", target = "x86_64-unknown-linux-gnu", features = ["arch-std", "executor-thread"] }, | 19 | { name = "std", target = "x86_64-unknown-linux-gnu", features = ["arch-std", "executor-thread"] }, |
| 20 | { name = "wasm", target = "wasm32-unknown-unknown", features = ["arch-wasm", "executor-thread"] }, | 20 | { name = "wasm", target = "wasm32-unknown-unknown", features = ["arch-wasm", "executor-thread"] }, |
| @@ -25,7 +25,7 @@ flavors = [ | |||
| 25 | [package.metadata.docs.rs] | 25 | [package.metadata.docs.rs] |
| 26 | default-target = "thumbv7em-none-eabi" | 26 | default-target = "thumbv7em-none-eabi" |
| 27 | targets = ["thumbv7em-none-eabi"] | 27 | targets = ["thumbv7em-none-eabi"] |
| 28 | features = ["nightly", "defmt", "pender-callback", "arch-cortex-m", "executor-thread", "executor-interrupt"] | 28 | features = ["nightly", "defmt", "arch-cortex-m", "executor-thread", "executor-interrupt"] |
| 29 | 29 | ||
| 30 | [features] | 30 | [features] |
| 31 | 31 | ||
| @@ -37,9 +37,6 @@ arch-xtensa = ["_arch"] | |||
| 37 | arch-riscv32 = ["_arch"] | 37 | arch-riscv32 = ["_arch"] |
| 38 | arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] | 38 | arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] |
| 39 | 39 | ||
| 40 | # Enable creating a `Pender` from an arbitrary function pointer callback. | ||
| 41 | pender-callback = [] | ||
| 42 | |||
| 43 | # Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs) | 40 | # Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs) |
| 44 | executor-thread = [] | 41 | executor-thread = [] |
| 45 | # Enable the interrupt-mode executor (available in Cortex-M only) | 42 | # Enable the interrupt-mode executor (available in Cortex-M only) |
