Skip to content

Commit

Permalink
build: Improve dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbeaumont committed Jan 11, 2020
1 parent 4a2e7e1 commit bd511ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ license = "MIT"
repository = "https://github.com/michaelbeaumont/dht-sensor"

[dependencies]
embedded-hal = "0.2.3"
embedded-hal = "^0.2.3"

[dev-dependencies]
stm32f0xx-hal = {version = "*", features = ["stm32f042"]}
stm32f0xx-hal = {version = "0.15.2", features = ["stm32f042"]}
cortex-m = "0.6.1"
cortex-m-rt = "0.6.11"
cortex-m-semihosting = "0.3.3"
cortex-m-semihosting = "0.3.5"
panic-halt = "0.2.0"
stm32f0 = {version = "0.9.0", features = ["stm32f0x2"]}

[profile.release]
codegen-units = 1
Expand Down
1 change: 1 addition & 0 deletions examples/stm32f042.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![no_main]

use crate::hal::{delay, gpio, prelude::*, stm32};
use cortex_m;
use cortex_m_rt::entry;
use cortex_m_semihosting::hprintln;
use panic_halt as _;
Expand Down

0 comments on commit bd511ee

Please sign in to comment.