From 47ceee47d56995c1028bc2509ede22830a121f8c Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 19 May 2022 00:13:31 +0200 Subject: [PATCH] Update embedded-io to 0.3 --- embassy-net/Cargo.toml | 2 +- embassy-nrf/Cargo.toml | 2 +- embassy-stm32/Cargo.toml | 2 +- examples/nrf/Cargo.toml | 2 +- examples/std/Cargo.toml | 2 +- examples/stm32f7/Cargo.toml | 2 +- examples/stm32h7/Cargo.toml | 2 +- examples/stm32l0/Cargo.toml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 1b2847a0d..8484aebc0 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml @@ -39,7 +39,7 @@ defmt = { version = "0.3", optional = true } log = { version = "0.4.14", optional = true } embassy = { version = "0.1.0", path = "../embassy" } -embedded-io = "0.2.0" +embedded-io = "0.3.0" managed = { version = "0.8.0", default-features = false, features = [ "map" ] } heapless = { version = "0.7.5", default-features = false } diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index cf61abcc8..2e4d8a970 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml @@ -73,7 +73,7 @@ embassy-usb = {version = "0.1.0", path = "../embassy-usb", optional=true } embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8", optional = true} embedded-hal-async = { version = "0.1.0-alpha.0", optional = true} -embedded-io = { version = "0.2.0", features = ["async"], optional = true } +embedded-io = { version = "0.3.0", features = ["async"], optional = true } defmt = { version = "0.3", optional = true } log = { version = "0.4.14", optional = true } diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 9686e016e..ce36c7da2 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml @@ -63,7 +63,7 @@ nb = "1.0.0" stm32-fmc = "0.2.4" seq-macro = "0.2.2" cfg-if = "1.0.0" -embedded-io = { version = "0.2.0", features = ["async"], optional = true } +embedded-io = { version = "0.3.0", features = ["async"], optional = true } [build-dependencies] proc-macro2 = "1.0.36" diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml index ffac0a769..d96eedf98 100644 --- a/examples/nrf/Cargo.toml +++ b/examples/nrf/Cargo.toml @@ -16,7 +16,7 @@ embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defm embassy-usb-serial = { version = "0.1.0", path = "../../embassy-usb-serial", features = ["defmt"], optional = true } embassy-usb-hid = { version = "0.1.0", path = "../../embassy-usb-hid", features = ["defmt"], optional = true } embassy-usb-ncm = { version = "0.1.0", path = "../../embassy-usb-ncm", features = ["defmt"], optional = true } -embedded-io = "0.2.0" +embedded-io = "0.3.0" defmt = "0.3" defmt-rtt = "0.3" diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index fa2a98a49..863760a45 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml @@ -7,7 +7,7 @@ version = "0.1.0" [dependencies] embassy = { version = "0.1.0", path = "../../embassy", features = ["log", "std", "time", "nightly"] } embassy-net = { version = "0.1.0", path = "../../embassy-net", features=["nightly", "std", "log", "medium-ethernet", "tcp", "dhcpv4", "pool-16"] } -embedded-io = { version = "0.2.0", features = ["async", "std"] } +embedded-io = { version = "0.3.0", features = ["async", "std", "futures"] } async-io = "1.6.0" env_logger = "0.9.0" diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml index f7af77da4..e68d1d58c 100644 --- a/examples/stm32f7/Cargo.toml +++ b/examples/stm32f7/Cargo.toml @@ -9,7 +9,7 @@ resolver = "2" embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime"] } embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "net", "stm32f767zi", "unstable-pac", "time-driver-any", "exti"] } embassy-net = { path = "../../embassy-net", features = ["defmt", "tcp", "medium-ethernet", "pool-16"] } -embedded-io = { version = "0.2.0", features = ["async"] } +embedded-io = { version = "0.3.0", features = ["async"] } defmt = "0.3" defmt-rtt = "0.3" diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index 9c1569dd3..8aa3b31e0 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml @@ -9,7 +9,7 @@ resolver = "2" embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits"] } embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32h743bi", "net", "time-driver-any", "exti", "unstable-pac", "unstable-traits"] } embassy-net = { path = "../../embassy-net", features = ["defmt", "tcp", "medium-ethernet", "pool-16"] } -embedded-io = { version = "0.2.0", features = ["async"] } +embedded-io = { version = "0.3.0", features = ["async"] } defmt = "0.3" defmt-rtt = "0.3" diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index d6848c27a..a483b08bd 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml @@ -21,7 +21,7 @@ defmt = "0.3" defmt-rtt = "0.3" embedded-storage = "0.3.0" -embedded-io = "0.2.0" +embedded-io = "0.3.0" cortex-m = "0.7.3" cortex-m-rt = "0.7.0"