mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
40 lines
1.3 KiB
TOML
40 lines
1.3 KiB
TOML
[package]
|
|
name = "rtic-sync"
|
|
version = "1.2.0"
|
|
|
|
edition = "2021"
|
|
authors = [
|
|
"The Real-Time Interrupt-driven Concurrency developers",
|
|
"Emil Fresk <emil.fresk@gmail.com>",
|
|
"Henrik Tjäder <henrik@tjaders.com>",
|
|
"Jorge Aparicio <jorge@japaric.io>",
|
|
"Per Lindgren <per.lindgren@ltu.se>",
|
|
]
|
|
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"] }
|
|
bitflags = "2"
|
|
|
|
[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"]
|