From 0c3bede64f990daafb87ae8841261b754c885ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Kr=C3=B6ger?= Date: Mon, 9 Aug 2021 16:19:00 +0200 Subject: [PATCH] bxcan: Make `bxcan` a hard dependency There seems no way to enable a optional dependency from build.rs or features passed through the command line. --- embassy-stm32/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index dc09b8e8..e0c16b46 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml @@ -26,7 +26,7 @@ bare-metal = "1.0.0" atomic-polyfill = "0.1.3" stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } vcell = { version = "0.1.3", optional = true } -bxcan = { version = "0.5.1" } # TODO: , optional = true } +bxcan = { version = "0.5.1" } cfg-if = "1.0.0"