From 77546825a15abb8e2fd6956adc4a5f125a0cb8cf Mon Sep 17 00:00:00 2001 From: Thales Fragoso Date: Tue, 15 Jun 2021 18:12:44 -0300 Subject: [PATCH] stm32: Make vcell dependency optional --- embassy-stm32/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 66e2d516e..6c49f3768 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml @@ -25,7 +25,7 @@ critical-section = "0.2.1" bare-metal = "1.0.0" atomic-polyfill = "0.1.2" stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } -vcell = "0.1.3" +vcell = { version = "0.1.3", optional = true } cfg-if = "1.0.0" @@ -41,7 +41,7 @@ defmt-info = [ ] defmt-warn = [ ] defmt-error = [ ] sdmmc-rs = ["embedded-sdmmc"] -net = ["embassy-net"] +net = ["embassy-net", "vcell"] # BEGIN GENERATED FEATURES # Generated by gen_features.py. DO NOT EDIT.