2022-07-29 21:58:35 +02:00
|
|
|
[package]
|
2022-08-22 21:46:09 +02:00
|
|
|
name = "embassy-sync"
|
2023-10-31 09:18:00 +01:00
|
|
|
version = "0.4.0"
|
2022-07-29 21:58:35 +02:00
|
|
|
edition = "2021"
|
2022-10-04 16:38:11 +02:00
|
|
|
description = "no-std, no-alloc synchronization primitives with async support"
|
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"concurrency",
|
|
|
|
"asynchronous",
|
|
|
|
]
|
2022-07-29 21:58:35 +02:00
|
|
|
|
|
|
|
[package.metadata.embassy_docs]
|
2022-08-22 21:46:09 +02:00
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-sync-v$VERSION/embassy-sync/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/src/"
|
2022-08-03 14:15:16 +02:00
|
|
|
features = ["nightly"]
|
2022-08-15 20:40:41 +02:00
|
|
|
target = "thumbv7em-none-eabi"
|
2022-07-29 21:58:35 +02:00
|
|
|
|
2022-10-26 22:11:08 +02:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["nightly"]
|
|
|
|
|
2022-08-03 14:15:16 +02:00
|
|
|
[features]
|
2023-08-07 13:43:09 +02:00
|
|
|
nightly = ["dep:embedded-io-async"]
|
2022-08-29 10:27:51 +02:00
|
|
|
std = []
|
2023-03-30 17:55:55 +02:00
|
|
|
turbowakers = []
|
2022-08-03 14:15:16 +02:00
|
|
|
|
2022-07-29 21:58:35 +02:00
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
log = { version = "0.4.14", optional = true }
|
|
|
|
|
|
|
|
futures-util = { version = "0.3.17", default-features = false }
|
2022-08-14 23:16:06 +02:00
|
|
|
critical-section = "1.1"
|
2023-11-08 22:59:58 +01:00
|
|
|
heapless = "0.8"
|
2022-07-29 21:58:35 +02:00
|
|
|
cfg-if = "1.0.0"
|
2023-11-29 16:37:07 +01:00
|
|
|
embedded-io-async = { version = "0.6.1", optional = true }
|
2022-07-29 21:58:35 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
futures-executor = { version = "0.3.17", features = [ "thread-pool" ] }
|
|
|
|
futures-test = "0.3.17"
|
|
|
|
futures-timer = "3.0.2"
|
|
|
|
futures-util = { version = "0.3.17", features = [ "channel" ] }
|
2022-08-14 23:16:06 +02:00
|
|
|
|
|
|
|
# Enable critical-section implementation for std, for tests
|
|
|
|
critical-section = { version = "1.1", features = ["std"] }
|
2023-11-02 21:52:07 +01:00
|
|
|
static_cell = { version = "2" }
|