diff options
| author | Thales Fragoso <[email protected]> | 2021-06-15 18:12:44 -0300 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-06-16 16:48:35 +0200 |
| commit | 77546825a15abb8e2fd6956adc4a5f125a0cb8cf (patch) | |
| tree | 9eb2f12630e41e7fa8acedb556595328f0d83767 | |
| parent | 598201bff3e6bb07f128d440207c547fe523f195 (diff) | |
stm32: Make vcell dependency optional
| -rw-r--r-- | embassy-stm32/Cargo.toml | 4 |
1 files 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" | |||
| 25 | bare-metal = "1.0.0" | 25 | bare-metal = "1.0.0" |
| 26 | atomic-polyfill = "0.1.2" | 26 | atomic-polyfill = "0.1.2" |
| 27 | stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } | 27 | stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } |
| 28 | vcell = "0.1.3" | 28 | vcell = { version = "0.1.3", optional = true } |
| 29 | 29 | ||
| 30 | cfg-if = "1.0.0" | 30 | cfg-if = "1.0.0" |
| 31 | 31 | ||
| @@ -41,7 +41,7 @@ defmt-info = [ ] | |||
| 41 | defmt-warn = [ ] | 41 | defmt-warn = [ ] |
| 42 | defmt-error = [ ] | 42 | defmt-error = [ ] |
| 43 | sdmmc-rs = ["embedded-sdmmc"] | 43 | sdmmc-rs = ["embedded-sdmmc"] |
| 44 | net = ["embassy-net"] | 44 | net = ["embassy-net", "vcell"] |
| 45 | 45 | ||
| 46 | # BEGIN GENERATED FEATURES | 46 | # BEGIN GENERATED FEATURES |
| 47 | # Generated by gen_features.py. DO NOT EDIT. | 47 | # Generated by gen_features.py. DO NOT EDIT. |
