Lift specificity of some dependencies and re-enabled LTO for all, yay!

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
This commit is contained in:
Daniel Egger 2019-11-04 00:51:53 +01:00
parent 1e649bbc0b
commit 1310978435
1 changed files with 11 additions and 9 deletions

View File

@ -29,17 +29,17 @@ version = "0.15.1"
features = ["stm32f042", "rt"]
[dependencies]
bare-metal = { version = "0.2.4", features = ["const-fn"] }
cast = { version = "0.2.2", default-features = false }
cortex-m = "0.6.0"
cortex-m-rt = "0.6.10"
embedded-hal = { version = "0.2.3", features = ["unproven"] }
stm32f0 = "0.8.0"
nb = "0.1.2"
void = { version = "1.0.2", default-features = false }
bare-metal = { version = "0.2", features = ["const-fn"] }
cast = { version = "0.2", default-features = false }
cortex-m = "0.6"
cortex-m-rt = "0.6"
embedded-hal = { version = "0.2", features = ["unproven"] }
stm32f0 = "0.8"
nb = "0.1"
void = { version = "1.0", default-features = false }
[dev-dependencies]
panic-halt = "0.2.0"
panic-halt = "0.2"
[features]
device-selected = []
@ -66,8 +66,10 @@ stm32f098 = ["stm32f0/stm32f0x8", "device-selected"]
[profile.dev]
debug = true
lto = true
[profile.release]
lto = true
debug = true
opt-level = "s"