aboutsummaryrefslogtreecommitdiff
path: root/rtic-sync/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rtic-sync/Cargo.toml')
-rw-r--r--rtic-sync/Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtic-sync/Cargo.toml b/rtic-sync/Cargo.toml
index 064b9fa..39f62dc 100644
--- a/rtic-sync/Cargo.toml
+++ b/rtic-sync/Cargo.toml
@@ -21,6 +21,9 @@ heapless = "0.7"
critical-section = "1"
rtic-common = { version = "1.0.0", path = "../rtic-common" }
portable-atomic = { version = "1", default-features = false }
+embedded-hal = { version = "1.0.0-rc.1", optional = true }
+embedded-hal-async = { version = "1.0.0-rc.1", optional = true }
+embedded-hal-bus = { version = "0.1.0-rc.1", optional = true, features = ["async"] }
[dev-dependencies]
tokio = { version = "1", features = ["rt", "macros", "time"] }
@@ -29,3 +32,4 @@ 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"]