From f8a03b32e3a4f00254b496de0d3e8d1e5eb42b00 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Sat, 26 Oct 2019 12:36:00 +0000 Subject: [PATCH] cargo: forward "unproven" feature dependency This forwards the "unproven" feature from this crate to the corresponding feature on dependencies. --- Cargo.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index baf987f..ffd4a91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,8 @@ repository = "https://github.com/chrysn/efm32gg-hal" [dependencies] cortex-m = "0.5.2" -# version is a wild guess. dependency on unproven features should only be -# present if own unproven feature is active (but how do i do that?). -embedded-hal = { version = "0.2.0", features = ["unproven"] } +# version is a wild guess. +embedded-hal = "0.2.0" # for efm32gg, it's probably convenient to depend on the biggest available # svd2rust-generated crate (the chips will let us; FWICT all EFM32GG are the @@ -32,8 +31,8 @@ efr32xg1 = { version = "0.2.0", optional = true } [features] -default = ["unproven"] -unproven = [] +default = [ "unproven" ] +unproven = [ "embedded-hal/unproven" ] # Used by the newer generation of chips where peripherals have their individual # functions routable, not only peripherals as a whole.