From 0d81753eb5994c8c52b39f74dcd7517e9d770f62 Mon Sep 17 00:00:00 2001
From: Andelf <andelf@gmail.com>
Date: Sun, 31 Dec 2023 11:23:22 +0800
Subject: [PATCH] enhance(deps): update embassy

---
 Cargo.toml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 06afdb5..0711af8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,7 @@ license = "MIT/Apache-2.0"
 
 [features]
 default = ["ble", "embassy"]
-embassy = ["dep:embassy-time"]
+embassy = ["dep:embassy-time", "dep:embassy-sync"]
 ble = []
 
 [dependencies]
@@ -34,17 +34,15 @@ nb = "1.1.0"
 embedded-hal-02 = { package = "embedded-hal", version = "0.2.7", features = [
     "unproven",
 ] }
-embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" }
+embedded-hal-1 = { version = "=1.0.0-rc.2", package = "embedded-hal" }
 embedded-hal-nb = "1.0.0-rc.1"
 embedded-hal-async = "1.0.0-rc.1"
 
 # embassy time driver
-embassy-time = { version = "0.1.5", features = [
-    "nightly",
+embassy-time = { version = "0.2.0", features = [
     "tick-hz-32_768",
 ], optional = true }
-embassy-sync = { version = "0.4.0", features = ["nightly"] }
-embassy-futures = "0.1.1"
+embassy-sync = { version = "0.5.0", optional = true }
 
 [dev-dependencies]
 display-interface = "0.4.1"
@@ -53,14 +51,16 @@ embedded-graphics = "0.8.1"
 panic-halt = "0.2.0"
 ssd1306 = "0.8.3"
 
-embassy-executor = { version = "0.3.0", features = [
+embassy-futures = "0.1.1"
+embassy-executor = { version = "0.4.0", features = [
     "nightly",
     "integrated-timers",
     "arch-riscv32",
     "executor-thread",
 ] }
-heapless = "0.7.16"
+heapless = "0.8.0"
 embedded-alloc = "0.5.0"
+embedded-sdmmc = "0.6.0"
 
 [profile.release]
 # panic = "unwind"