2020-09-22 18:03:43 +02:00
|
|
|
[package]
|
2022-07-29 21:58:35 +02:00
|
|
|
name = "embassy-executor"
|
2022-11-23 14:53:18 +01:00
|
|
|
version = "0.1.1"
|
2022-06-18 02:15:48 +02:00
|
|
|
edition = "2021"
|
2022-10-07 12:41:56 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-11-22 14:48:42 +01:00
|
|
|
description = "async/await executor designed for embedded usage"
|
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"asynchronous",
|
|
|
|
]
|
2022-07-29 21:58:35 +02:00
|
|
|
|
2022-03-04 17:45:01 +01:00
|
|
|
[package.metadata.embassy_docs]
|
2022-07-29 21:58:35 +02:00
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/"
|
2022-10-02 22:24:59 +02:00
|
|
|
features = ["nightly", "defmt"]
|
2022-03-04 17:45:01 +01:00
|
|
|
flavors = [
|
|
|
|
{ name = "std", target = "x86_64-unknown-linux-gnu", features = ["std"] },
|
|
|
|
{ name = "wasm", target = "wasm32-unknown-unknown", features = ["wasm"] },
|
|
|
|
{ name = "thumbv6m-none-eabi", target = "thumbv6m-none-eabi", features = [] },
|
|
|
|
{ name = "thumbv7m-none-eabi", target = "thumbv7m-none-eabi", features = [] },
|
|
|
|
{ name = "thumbv7em-none-eabi", target = "thumbv7em-none-eabi", features = [] },
|
|
|
|
{ name = "thumbv7em-none-eabihf", target = "thumbv7em-none-eabihf", features = [] },
|
|
|
|
{ name = "thumbv8m.base-none-eabi", target = "thumbv8m.base-none-eabi", features = [] },
|
|
|
|
{ name = "thumbv8m.main-none-eabi", target = "thumbv8m.main-none-eabi", features = [] },
|
|
|
|
{ name = "thumbv8m.main-none-eabihf", target = "thumbv8m.main-none-eabihf", features = [] },
|
|
|
|
]
|
|
|
|
|
2022-11-23 14:49:40 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["std", "nightly", "defmt"]
|
|
|
|
|
2020-09-22 18:03:43 +02:00
|
|
|
[features]
|
2021-07-12 03:29:09 +02:00
|
|
|
default = []
|
2022-11-22 22:04:42 +01:00
|
|
|
std = ["critical-section/std"]
|
|
|
|
wasm = ["dep:wasm-bindgen", "dep:js-sys"]
|
2021-07-12 03:29:09 +02:00
|
|
|
|
2022-02-12 00:24:04 +01:00
|
|
|
# Enable nightly-only features
|
2022-08-17 23:40:16 +02:00
|
|
|
nightly = []
|
2022-02-12 00:24:04 +01:00
|
|
|
|
2022-08-17 23:40:16 +02:00
|
|
|
integrated-timers = ["dep:embassy-time"]
|
2021-03-02 21:14:58 +01:00
|
|
|
|
2022-08-16 06:42:08 +02:00
|
|
|
# Trace interrupt invocations with rtos-trace.
|
2022-08-23 14:57:45 +02:00
|
|
|
rtos-trace-interrupt = ["rtos-trace", "embassy-macros/rtos-trace-interrupt"]
|
2022-08-16 06:42:08 +02:00
|
|
|
|
2020-09-22 18:03:43 +02:00
|
|
|
[dependencies]
|
2021-11-15 17:08:51 +01:00
|
|
|
defmt = { version = "0.3", optional = true }
|
2021-09-11 00:10:46 +02:00
|
|
|
log = { version = "0.4.14", optional = true }
|
2022-08-09 22:25:42 +02:00
|
|
|
rtos-trace = { version = "0.1.2", optional = true }
|
2020-11-01 17:17:24 +01:00
|
|
|
|
2022-07-29 21:58:35 +02:00
|
|
|
futures-util = { version = "0.3.17", default-features = false }
|
2022-08-23 14:57:45 +02:00
|
|
|
embassy-macros = { version = "0.1.0", path = "../embassy-macros" }
|
2022-08-17 23:40:16 +02:00
|
|
|
embassy-time = { version = "0.1.0", path = "../embassy-time", optional = true}
|
2022-08-14 23:16:06 +02:00
|
|
|
atomic-polyfill = "1.0.1"
|
|
|
|
critical-section = "1.1"
|
2021-12-23 13:34:15 +01:00
|
|
|
cfg-if = "1.0.0"
|
2022-08-22 15:51:44 +02:00
|
|
|
static_cell = "1.0"
|
2020-11-01 17:17:24 +01:00
|
|
|
|
2021-09-13 14:35:40 +02:00
|
|
|
# WASM dependencies
|
2022-08-23 19:55:49 +02:00
|
|
|
wasm-bindgen = { version = "0.2.82", optional = true }
|
|
|
|
js-sys = { version = "0.3", optional = true }
|