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"