2020-09-22 16:03:43 +00:00
|
|
|
[package]
|
2022-07-29 19:58:35 +00:00
|
|
|
name = "embassy-executor"
|
2020-09-22 16:03:43 +00:00
|
|
|
version = "0.1.0"
|
2022-06-18 00:15:48 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-11-22 13:48:42 +00:00
|
|
|
description = "async/await executor designed for embedded usage"
|
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"asynchronous",
|
|
|
|
]
|
2022-07-29 19:58:35 +00:00
|
|
|
|
2022-03-04 16:45:01 +00:00
|
|
|
[package.metadata.embassy_docs]
|
2022-07-29 19:58:35 +00: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 20:24:59 +00:00
|
|
|
features = ["nightly", "defmt"]
|
2022-03-04 16:45:01 +00: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 = [] },
|
|
|
|
]
|
|
|
|
|
2020-09-22 16:03:43 +00:00
|
|
|
[features]
|
2021-07-12 01:29:09 +00:00
|
|
|
default = []
|
2022-11-22 21:04:42 +00:00
|
|
|
std = ["critical-section/std"]
|
|
|
|
wasm = ["dep:wasm-bindgen", "dep:js-sys"]
|
2021-07-12 01:29:09 +00:00
|
|
|
|
2022-02-11 23:24:04 +00:00
|
|
|
# Enable nightly-only features
|
2022-08-17 21:40:16 +00:00
|
|
|
nightly = []
|
2022-02-11 23:24:04 +00:00
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
integrated-timers = ["dep:embassy-time"]
|
2021-03-02 20:14:58 +00:00
|
|
|
|
2022-08-16 04:42:08 +00:00
|
|
|
# Trace interrupt invocations with rtos-trace.
|
2022-08-23 12:57:45 +00:00
|
|
|
rtos-trace-interrupt = ["rtos-trace", "embassy-macros/rtos-trace-interrupt"]
|
2022-08-16 04:42:08 +00:00
|
|
|
|
2020-09-22 16:03:43 +00:00
|
|
|
[dependencies]
|
2021-11-15 16:08:51 +00:00
|
|
|
defmt = { version = "0.3", optional = true }
|
2021-09-10 22:10:46 +00:00
|
|
|
log = { version = "0.4.14", optional = true }
|
2022-08-09 20:25:42 +00:00
|
|
|
rtos-trace = { version = "0.1.2", optional = true }
|
2020-11-01 16:17:24 +00:00
|
|
|
|
2022-07-29 19:58:35 +00:00
|
|
|
futures-util = { version = "0.3.17", default-features = false }
|
2022-08-23 12:57:45 +00:00
|
|
|
embassy-macros = { version = "0.1.0", path = "../embassy-macros" }
|
2022-08-17 21:40:16 +00:00
|
|
|
embassy-time = { version = "0.1.0", path = "../embassy-time", optional = true}
|
2022-08-14 21:16:06 +00:00
|
|
|
atomic-polyfill = "1.0.1"
|
|
|
|
critical-section = "1.1"
|
2021-12-23 12:34:15 +00:00
|
|
|
cfg-if = "1.0.0"
|
2022-08-22 13:51:44 +00:00
|
|
|
static_cell = "1.0"
|
2020-11-01 16:17:24 +00:00
|
|
|
|
2021-09-13 12:35:40 +00:00
|
|
|
# WASM dependencies
|
2022-08-23 17:55:49 +00:00
|
|
|
wasm-bindgen = { version = "0.2.82", optional = true }
|
|
|
|
js-sys = { version = "0.3", optional = true }
|