[package] name = "rtic-sync" version = "1.1.1" edition = "2021" authors = [ "The Real-Time Interrupt-driven Concurrency developers", "Emil Fresk ", "Henrik Tjäder ", "Jorge Aparicio ", "Per Lindgren ", ] categories = ["concurrency", "embedded", "no-std", "asynchronous"] description = "Synchronization primitives for asynchronous contexts" license = "MIT OR Apache-2.0" repository = "https://github.com/rtic-rs/rtic" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.docs.rs] features = ["unstable"] [dependencies] heapless = "0.8" critical-section = "1" rtic-common = { version = "1.0.0", path = "../rtic-common" } portable-atomic = { version = "1", default-features = false } embedded-hal = { version = "1.0", optional = true } embedded-hal-async = { version = "1.0", optional = true } embedded-hal-bus = { version = "0.1.0", optional = true, features = ["async"] } [dev-dependencies] tokio = { version = "1", features = ["rt", "macros", "time"] } [features] default = [] testing = ["critical-section/std", "rtic-common/testing"] unstable = ["embedded-hal", "embedded-hal-async", "embedded-hal-bus"]