stm32: Make vcell dependency optional

This commit is contained in:
Thales Fragoso 2021-06-15 18:12:44 -03:00 committed by Dario Nieuwenhuis
parent 598201bff3
commit 77546825a1

View file

@ -25,7 +25,7 @@ critical-section = "0.2.1"
bare-metal = "1.0.0" bare-metal = "1.0.0"
atomic-polyfill = "0.1.2" atomic-polyfill = "0.1.2"
stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } 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" cfg-if = "1.0.0"
@ -41,7 +41,7 @@ defmt-info = [ ]
defmt-warn = [ ] defmt-warn = [ ]
defmt-error = [ ] defmt-error = [ ]
sdmmc-rs = ["embedded-sdmmc"] sdmmc-rs = ["embedded-sdmmc"]
net = ["embassy-net"] net = ["embassy-net", "vcell"]
# BEGIN GENERATED FEATURES # BEGIN GENERATED FEATURES
# Generated by gen_features.py. DO NOT EDIT. # Generated by gen_features.py. DO NOT EDIT.