From ce7bc32755166670d814de7ebef32a0747b2779f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Als=C3=A9r?= Date: Sun, 10 Jul 2022 00:15:20 +0200 Subject: [PATCH] Nightly feature gate for embedded-storage-async --- embassy-embedded-hal/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml index 94034a66..d2606d26 100644 --- a/embassy-embedded-hal/Cargo.toml +++ b/embassy-embedded-hal/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [features] std = [] # Enable nightly-only features -nightly = ["embedded-hal-async"] +nightly = ["embedded-hal-async", "embedded-storage-async"] [dependencies] embassy = { version = "0.1.0", path = "../embassy" } @@ -14,5 +14,5 @@ embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["un embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" } embedded-hal-async = { version = "0.1.0-alpha.1", optional = true } embedded-storage = "0.3.0" -embedded-storage-async = "0.3.0" +embedded-storage-async = { version = "0.3.0", optional = true } nb = "1.0.0" \ No newline at end of file