stm32: Make vcell dependency optional
@@ -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.
