From f2623e7e9b03bc6539827e8c9d1a9cb6dd7ede2e Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 11 Sep 2021 00:10:46 +0200 Subject: Update lots of deps --- examples/nrf/Cargo.toml | 8 ++++---- examples/rp/Cargo.toml | 10 +++++----- examples/std/Cargo.toml | 18 +++++++++--------- examples/std/src/serial_port.rs | 9 +++------ examples/stm32f0/Cargo.toml | 8 ++++---- examples/stm32f4/Cargo.toml | 16 ++++++++-------- examples/stm32g0/Cargo.toml | 14 +++++++------- examples/stm32h7/Cargo.toml | 16 ++++++++-------- examples/stm32l0/Cargo.toml | 14 +++++++------- examples/stm32l4/Cargo.toml | 14 +++++++------- examples/stm32wb55/Cargo.toml | 14 +++++++------- examples/stm32wl55/Cargo.toml | 14 +++++++------- 12 files changed, 76 insertions(+), 79 deletions(-) (limited to 'examples') diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml index 0f932e25c..b71dfa0d4 100644 --- a/examples/nrf/Cargo.toml +++ b/examples/nrf/Cargo.toml @@ -21,12 +21,12 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "def embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = { version = "0.7.1", features = ["inline-asm"] } +cortex-m = { version = "0.7.3", features = ["inline-asm"] } cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } +embedded-hal = "0.2.6" panic-probe = { version = "0.2.0", features = ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } rand = { version = "0.8.4", default-features = false } diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index db222e071..d168c39fa 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml @@ -19,16 +19,16 @@ defmt-error = [] [dependencies] embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "defmt-trace"] } -atomic-polyfill = { version = "0.1.1" } +atomic-polyfill = "0.1.3" -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = { version = "0.7.1", features = ["inline-asm"] } +cortex-m = { version = "0.7.3", features = ["inline-asm"] } cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } +embedded-hal = "0.2.6" panic-probe = { version = "0.2.0", features = ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] } display-interface-spi = "0.4.1" embedded-graphics = "0.7.1" st7789 = "0.6.1" diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index 34b8ebb67..3ba495e59 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml @@ -9,12 +9,12 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["log", "std", embassy-net = { version = "0.1.0", path = "../../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] } smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="e4241510337e095b9d21136c5f58b2eaa1b78479", default-features = false } -async-io = "1.3.1" -env_logger = "0.8.2" -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -log = "0.4.11" -nix = "0.21.0" -libc = "0.2.81" -clap = { version = "3.0.0-beta.2", features = ["derive"] } -rand_core = { version = "0.6.0", features = ["std"] } -heapless = { version = "0.7.1", default-features = false } +async-io = "1.6.0" +env_logger = "0.9.0" +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +log = "0.4.14" +nix = "0.22.1" +libc = "0.2.101" +clap = { version = "3.0.0-beta.4", features = ["derive"] } +rand_core = { version = "0.6.3", features = ["std"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/std/src/serial_port.rs b/examples/std/src/serial_port.rs index 7ac1b1edb..aadaeb81d 100644 --- a/examples/std/src/serial_port.rs +++ b/examples/std/src/serial_port.rs @@ -1,6 +1,6 @@ +use nix::errno::Errno; use nix::fcntl::OFlag; use nix::sys::termios; -use nix::Error; use std::io; use std::os::unix::io::{AsRawFd, RawFd}; @@ -63,9 +63,6 @@ impl io::Write for SerialPort { } } -fn to_io_error(e: Error) -> io::Error { - match e { - Error::Sys(errno) => errno.into(), - e => io::Error::new(io::ErrorKind::InvalidInput, e), - } +fn to_io_error(e: Errno) -> io::Error { + e.into() } diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml index d37391e4f..2db98488d 100644 --- a/examples/stm32f0/Cargo.toml +++ b/examples/stm32f0/Cargo.toml @@ -8,12 +8,12 @@ resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m = { version = "0.7.1", features = ["inline-asm"] } +cortex-m = { version = "0.7.3", features = ["inline-asm"] } cortex-m-rt = "0.7.0" -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -panic-probe = { version = "0.2.0" } -rtt-target = { version = "0.3", features = ["cortex-m"] } +panic-probe = "0.2.0" +rtt-target = { version = "0.3.1", features = ["cortex-m"] } embassy = { path = "../../embassy", features = ["defmt"] } embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "stm32f030f4", "time-driver-tim3"] } diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index 8a7f45877..ce3a26bbf 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml @@ -22,14 +22,14 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim2"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } -nb = { version = "1.0" } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } +nb = "1.0.0" diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml index 83f535b91..58a62f7be 100644 --- a/examples/stm32g0/Cargo.toml +++ b/examples/stm32g0/Cargo.toml @@ -22,13 +22,13 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "time-driver-tim2", "stm32g071rb", "unstable-pac"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index 1370cd9ab..94586b8ac 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml @@ -24,17 +24,17 @@ embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] } embassy-macros = { path = "../../embassy-macros" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } -rand_core = { version = "0.6.2" } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } +rand_core = "0.6.3" critical-section = "0.2.1" micromath = "2.0.0" diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index 07b033c1e..7dfcdb0fe 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml @@ -23,13 +23,13 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [" embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } embassy-macros = { path = "../../embassy-macros" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index 3fa6fa467..26d4cae48 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml @@ -22,16 +22,16 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32l4s5vi", "time-driver-tim2"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } micromath = "2.0.0" diff --git a/examples/stm32wb55/Cargo.toml b/examples/stm32wb55/Cargo.toml index c12e489f7..3a6f63baf 100644 --- a/examples/stm32wb55/Cargo.toml +++ b/examples/stm32wb55/Cargo.toml @@ -22,13 +22,13 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wb55cc", "time-driver-tim2"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/stm32wl55/Cargo.toml b/examples/stm32wl55/Cargo.toml index 1bdfe9bc9..d0c727862 100644 --- a/examples/stm32wl55/Cargo.toml +++ b/examples/stm32wl55/Cargo.toml @@ -22,13 +22,13 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } -- cgit