Skip to content

Commit fbe1c71

Browse files
committed
Always enable the embedded-hal/unproven feature
The crate completely fails to build without this feature, remove it so that trying to build with --no-default-features gives a useful error message
1 parent aa5282b commit fbe1c71

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ targets = ["thumbv7em-none-eabihf"]
2626

2727
[dependencies]
2828
fugit = "0.3.3"
29-
embedded-hal = "0.2.6"
29+
embedded-hal = { version = "0.2.6", features = ["unproven"] }
3030
embedded-dma = "0.1.2"
3131
cortex-m = "^0.7.4"
3232
defmt = { version = ">=0.2.0,<0.4", optional = true }
@@ -80,8 +80,7 @@ default-features = false
8080
features = ["medium-ethernet", "proto-ipv4", "proto-ipv6", "socket-raw"]
8181

8282
[features]
83-
default = ["unproven", "rt"]
84-
unproven = ["embedded-hal/unproven"]
83+
default = ["rt"]
8584
device-selected = []
8685
revision_v = []
8786
rm0433 = [] # aka. "single core" devices

0 commit comments

Comments
 (0)