aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-10-26 16:47:29 +0200
committerDario Nieuwenhuis <[email protected]>2022-10-26 16:47:29 +0200
commiteeb072d9cbc457892c58670ca6fefacf8c80a32b (patch)
tree239a33833fcbe4c15cd3515d1b736afaee06c048
parent1b249ca72d67a4ff8491b9b548be4afe8c7c2db0 (diff)
Update Rust nightly.
-rw-r--r--embassy-embedded-hal/Cargo.toml2
-rw-r--r--embassy-lora/Cargo.toml2
-rw-r--r--embassy-net/Cargo.toml2
-rw-r--r--embassy-net/src/tcp.rs18
-rw-r--r--embassy-nrf/Cargo.toml4
-rw-r--r--embassy-nrf/src/buffered_uarte.rs16
-rw-r--r--embassy-rp/Cargo.toml4
-rw-r--r--embassy-rp/src/uart/buffered.rs16
-rw-r--r--embassy-stm32/Cargo.toml4
-rw-r--r--embassy-stm32/src/sdmmc/mod.rs12
-rw-r--r--embassy-stm32/src/usart/buffered.rs16
-rw-r--r--embassy-sync/Cargo.toml2
-rw-r--r--embassy-sync/src/pipe.rs18
-rw-r--r--embassy-time/Cargo.toml2
-rw-r--r--examples/nrf/Cargo.toml2
-rw-r--r--examples/rp/Cargo.toml4
-rw-r--r--examples/std/Cargo.toml2
-rw-r--r--examples/stm32f4/Cargo.toml2
-rw-r--r--examples/stm32f7/Cargo.toml2
-rw-r--r--examples/stm32h7/Cargo.toml4
-rw-r--r--examples/stm32l0/Cargo.toml2
-rw-r--r--examples/stm32l4/Cargo.toml2
-rw-r--r--examples/stm32l5/Cargo.toml2
-rw-r--r--rust-toolchain.toml2
-rw-r--r--tests/rp/Cargo.toml4
-rw-r--r--tests/stm32/Cargo.toml2
26 files changed, 74 insertions, 74 deletions
diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml
index d0be6d195..85ee856a6 100644
--- a/embassy-embedded-hal/Cargo.toml
+++ b/embassy-embedded-hal/Cargo.toml
@@ -20,7 +20,7 @@ nightly = ["embedded-hal-async", "embedded-storage-async"]
20embassy-sync = { version = "0.1.0", path = "../embassy-sync" } 20embassy-sync = { version = "0.1.0", path = "../embassy-sync" }
21embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } 21embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] }
22embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 22embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
23embedded-hal-async = { version = "=0.1.0-alpha.2", optional = true } 23embedded-hal-async = { version = "=0.1.0-alpha.3", optional = true }
24embedded-storage = "0.3.0" 24embedded-storage = "0.3.0"
25embedded-storage-async = { version = "0.3.0", optional = true } 25embedded-storage-async = { version = "0.3.0", optional = true }
26nb = "1.0.0" 26nb = "1.0.0"
diff --git a/embassy-lora/Cargo.toml b/embassy-lora/Cargo.toml
index ea2c3fe67..dc2004172 100644
--- a/embassy-lora/Cargo.toml
+++ b/embassy-lora/Cargo.toml
@@ -32,7 +32,7 @@ embassy-time = { version = "0.1.0", path = "../embassy-time" }
32embassy-sync = { version = "0.1.0", path = "../embassy-sync" } 32embassy-sync = { version = "0.1.0", path = "../embassy-sync" }
33embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false, optional = true } 33embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false, optional = true }
34embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 34embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
35embedded-hal-async = { version = "=0.1.0-alpha.2" } 35embedded-hal-async = { version = "=0.1.0-alpha.3" }
36embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common", default-features = false } 36embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common", default-features = false }
37futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } 37futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] }
38embedded-hal = { version = "0.2", features = ["unproven"] } 38embedded-hal = { version = "0.2", features = ["unproven"] }
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml
index 967ef26a7..76217075a 100644
--- a/embassy-net/Cargo.toml
+++ b/embassy-net/Cargo.toml
@@ -42,7 +42,7 @@ log = { version = "0.4.14", optional = true }
42 42
43embassy-time = { version = "0.1.0", path = "../embassy-time" } 43embassy-time = { version = "0.1.0", path = "../embassy-time" }
44embassy-sync = { version = "0.1.0", path = "../embassy-sync" } 44embassy-sync = { version = "0.1.0", path = "../embassy-sync" }
45embedded-io = { version = "0.3.0", optional = true } 45embedded-io = { version = "0.3.1", optional = true }
46 46
47managed = { version = "0.8.0", default-features = false, features = [ "map" ] } 47managed = { version = "0.8.0", default-features = false, features = [ "map" ] }
48heapless = { version = "0.7.5", default-features = false } 48heapless = { version = "0.7.5", default-features = false }
diff --git a/embassy-net/src/tcp.rs b/embassy-net/src/tcp.rs
index f8fff3e2d..f3bd2361c 100644
--- a/embassy-net/src/tcp.rs
+++ b/embassy-net/src/tcp.rs
@@ -292,7 +292,7 @@ mod embedded_io_impls {
292 } 292 }
293 293
294 impl<'d> embedded_io::asynch::Read for TcpSocket<'d> { 294 impl<'d> embedded_io::asynch::Read for TcpSocket<'d> {
295 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 295 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
296 where 296 where
297 Self: 'a; 297 Self: 'a;
298 298
@@ -302,7 +302,7 @@ mod embedded_io_impls {
302 } 302 }
303 303
304 impl<'d> embedded_io::asynch::Write for TcpSocket<'d> { 304 impl<'d> embedded_io::asynch::Write for TcpSocket<'d> {
305 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 305 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
306 where 306 where
307 Self: 'a; 307 Self: 'a;
308 308
@@ -310,7 +310,7 @@ mod embedded_io_impls {
310 self.io.write(buf) 310 self.io.write(buf)
311 } 311 }
312 312
313 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 313 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
314 where 314 where
315 Self: 'a; 315 Self: 'a;
316 316
@@ -324,7 +324,7 @@ mod embedded_io_impls {
324 } 324 }
325 325
326 impl<'d> embedded_io::asynch::Read for TcpReader<'d> { 326 impl<'d> embedded_io::asynch::Read for TcpReader<'d> {
327 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 327 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
328 where 328 where
329 Self: 'a; 329 Self: 'a;
330 330
@@ -338,7 +338,7 @@ mod embedded_io_impls {
338 } 338 }
339 339
340 impl<'d> embedded_io::asynch::Write for TcpWriter<'d> { 340 impl<'d> embedded_io::asynch::Write for TcpWriter<'d> {
341 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 341 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
342 where 342 where
343 Self: 'a; 343 Self: 'a;
344 344
@@ -346,7 +346,7 @@ mod embedded_io_impls {
346 self.io.write(buf) 346 self.io.write(buf)
347 } 347 }
348 348
349 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 349 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
350 where 350 where
351 Self: 'a; 351 Self: 'a;
352 352
@@ -445,7 +445,7 @@ pub mod client {
445 impl<'d, const N: usize, const TX_SZ: usize, const RX_SZ: usize> embedded_io::asynch::Read 445 impl<'d, const N: usize, const TX_SZ: usize, const RX_SZ: usize> embedded_io::asynch::Read
446 for TcpConnection<'d, N, TX_SZ, RX_SZ> 446 for TcpConnection<'d, N, TX_SZ, RX_SZ>
447 { 447 {
448 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 448 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
449 where 449 where
450 Self: 'a; 450 Self: 'a;
451 451
@@ -457,7 +457,7 @@ pub mod client {
457 impl<'d, const N: usize, const TX_SZ: usize, const RX_SZ: usize> embedded_io::asynch::Write 457 impl<'d, const N: usize, const TX_SZ: usize, const RX_SZ: usize> embedded_io::asynch::Write
458 for TcpConnection<'d, N, TX_SZ, RX_SZ> 458 for TcpConnection<'d, N, TX_SZ, RX_SZ>
459 { 459 {
460 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 460 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
461 where 461 where
462 Self: 'a; 462 Self: 'a;
463 463
@@ -465,7 +465,7 @@ pub mod client {
465 self.socket.write(buf) 465 self.socket.write(buf)
466 } 466 }
467 467
468 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 468 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
469 where 469 where
470 Self: 'a; 470 Self: 'a;
471 471
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index dca5fd1bc..67b6bec40 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -75,8 +75,8 @@ embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver", optiona
75 75
76embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } 76embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] }
77embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true} 77embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true}
78embedded-hal-async = { version = "=0.1.0-alpha.2", optional = true} 78embedded-hal-async = { version = "=0.1.0-alpha.3", optional = true}
79embedded-io = { version = "0.3.0", features = ["async"], optional = true } 79embedded-io = { version = "0.3.1", features = ["async"], optional = true }
80 80
81defmt = { version = "0.3", optional = true } 81defmt = { version = "0.3", optional = true }
82log = { version = "0.4.14", optional = true } 82log = { version = "0.4.14", optional = true }
diff --git a/embassy-nrf/src/buffered_uarte.rs b/embassy-nrf/src/buffered_uarte.rs
index 6e85a159f..9c8fe65f4 100644
--- a/embassy-nrf/src/buffered_uarte.rs
+++ b/embassy-nrf/src/buffered_uarte.rs
@@ -341,7 +341,7 @@ impl<'u, 'd, U: UarteInstance, T: TimerInstance> embedded_io::Io for BufferedUar
341} 341}
342 342
343impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarte<'d, U, T> { 343impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarte<'d, U, T> {
344 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 344 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
345 where 345 where
346 Self: 'a; 346 Self: 'a;
347 347
@@ -351,7 +351,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for Buffe
351} 351}
352 352
353impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarteRx<'u, 'd, U, T> { 353impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarteRx<'u, 'd, U, T> {
354 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 354 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
355 where 355 where
356 Self: 'a; 356 Self: 'a;
357 357
@@ -361,7 +361,7 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read f
361} 361}
362 362
363impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarte<'d, U, T> { 363impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarte<'d, U, T> {
364 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> 364 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a
365 where 365 where
366 Self: 'a; 366 Self: 'a;
367 367
@@ -375,7 +375,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for Bu
375} 375}
376 376
377impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarteRx<'u, 'd, U, T> { 377impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarteRx<'u, 'd, U, T> {
378 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> 378 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a
379 where 379 where
380 Self: 'a; 380 Self: 'a;
381 381
@@ -389,7 +389,7 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRea
389} 389}
390 390
391impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarte<'d, U, T> { 391impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarte<'d, U, T> {
392 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 392 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
393 where 393 where
394 Self: 'a; 394 Self: 'a;
395 395
@@ -397,7 +397,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for Buff
397 self.inner_write(buf) 397 self.inner_write(buf)
398 } 398 }
399 399
400 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 400 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
401 where 401 where
402 Self: 'a; 402 Self: 'a;
403 403
@@ -407,7 +407,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for Buff
407} 407}
408 408
409impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarteTx<'u, 'd, U, T> { 409impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarteTx<'u, 'd, U, T> {
410 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 410 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
411 where 411 where
412 Self: 'a; 412 Self: 'a;
413 413
@@ -415,7 +415,7 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write
415 self.inner.inner_write(buf) 415 self.inner.inner_write(buf)
416 } 416 }
417 417
418 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 418 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
419 where 419 where
420 Self: 'a; 420 Self: 'a;
421 421
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index c56858415..d2196be76 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -53,12 +53,12 @@ cortex-m = "0.7.6"
53critical-section = "1.1" 53critical-section = "1.1"
54futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 54futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
55chrono = { version = "0.4", default-features = false, optional = true } 55chrono = { version = "0.4", default-features = false, optional = true }
56embedded-io = { version = "0.3.0", features = ["async"], optional = true } 56embedded-io = { version = "0.3.1", features = ["async"], optional = true }
57 57
58rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="017e3c9007b2d3b6965f0d85b5bf8ce3fa6d7364", features = ["rt"] } 58rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="017e3c9007b2d3b6965f0d85b5bf8ce3fa6d7364", features = ["rt"] }
59#rp2040-pac2 = { path = "../../rp2040-pac2", features = ["rt"] } 59#rp2040-pac2 = { path = "../../rp2040-pac2", features = ["rt"] }
60 60
61embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } 61embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] }
62embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true} 62embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true}
63embedded-hal-async = { version = "=0.1.0-alpha.2", optional = true} 63embedded-hal-async = { version = "=0.1.0-alpha.3", optional = true}
64embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true} 64embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true}
diff --git a/embassy-rp/src/uart/buffered.rs b/embassy-rp/src/uart/buffered.rs
index 87e16f0eb..4f0a55532 100644
--- a/embassy-rp/src/uart/buffered.rs
+++ b/embassy-rp/src/uart/buffered.rs
@@ -355,7 +355,7 @@ impl<'d, T: Instance> embedded_io::Io for BufferedUartTx<'d, T> {
355} 355}
356 356
357impl<'d, T: Instance + 'd> embedded_io::asynch::Read for BufferedUart<'d, T> { 357impl<'d, T: Instance + 'd> embedded_io::asynch::Read for BufferedUart<'d, T> {
358 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 358 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
359 where 359 where
360 Self: 'a; 360 Self: 'a;
361 361
@@ -376,7 +376,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::Read for BufferedUart<'d, T> {
376} 376}
377 377
378impl<'d, T: Instance + 'd> embedded_io::asynch::Read for BufferedUartRx<'d, T> { 378impl<'d, T: Instance + 'd> embedded_io::asynch::Read for BufferedUartRx<'d, T> {
379 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 379 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
380 where 380 where
381 Self: 'a; 381 Self: 'a;
382 382
@@ -397,7 +397,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::Read for BufferedUartRx<'d, T> {
397} 397}
398 398
399impl<'d, T: Instance + 'd> embedded_io::asynch::BufRead for BufferedUart<'d, T> { 399impl<'d, T: Instance + 'd> embedded_io::asynch::BufRead for BufferedUart<'d, T> {
400 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> 400 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a
401 where 401 where
402 Self: 'a; 402 Self: 'a;
403 403
@@ -419,7 +419,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::BufRead for BufferedUart<'d, T>
419} 419}
420 420
421impl<'d, T: Instance + 'd> embedded_io::asynch::BufRead for BufferedUartRx<'d, T> { 421impl<'d, T: Instance + 'd> embedded_io::asynch::BufRead for BufferedUartRx<'d, T> {
422 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> 422 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a
423 where 423 where
424 Self: 'a; 424 Self: 'a;
425 425
@@ -441,7 +441,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::BufRead for BufferedUartRx<'d, T
441} 441}
442 442
443impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUart<'d, T> { 443impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUart<'d, T> {
444 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 444 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
445 where 445 where
446 Self: 'a; 446 Self: 'a;
447 447
@@ -455,7 +455,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUart<'d, T> {
455 }) 455 })
456 } 456 }
457 457
458 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 458 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
459 where 459 where
460 Self: 'a; 460 Self: 'a;
461 461
@@ -465,7 +465,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUart<'d, T> {
465} 465}
466 466
467impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUartTx<'d, T> { 467impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUartTx<'d, T> {
468 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 468 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
469 where 469 where
470 Self: 'a; 470 Self: 'a;
471 471
@@ -479,7 +479,7 @@ impl<'d, T: Instance + 'd> embedded_io::asynch::Write for BufferedUartTx<'d, T>
479 }) 479 })
480 } 480 }
481 481
482 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 482 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
483 where 483 where
484 Self: 'a; 484 Self: 'a;
485 485
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml
index 9194ae788..0b88e89c9 100644
--- a/embassy-stm32/Cargo.toml
+++ b/embassy-stm32/Cargo.toml
@@ -44,7 +44,7 @@ embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver", optiona
44 44
45embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } 45embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] }
46embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true} 46embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true}
47embedded-hal-async = { version = "=0.1.0-alpha.2", optional = true} 47embedded-hal-async = { version = "=0.1.0-alpha.3", optional = true}
48embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true} 48embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true}
49 49
50embedded-storage = "0.3.0" 50embedded-storage = "0.3.0"
@@ -67,7 +67,7 @@ nb = "1.0.0"
67stm32-fmc = "0.2.4" 67stm32-fmc = "0.2.4"
68seq-macro = "0.3.0" 68seq-macro = "0.3.0"
69cfg-if = "1.0.0" 69cfg-if = "1.0.0"
70embedded-io = { version = "0.3.0", features = ["async"], optional = true } 70embedded-io = { version = "0.3.1", features = ["async"], optional = true }
71 71
72[build-dependencies] 72[build-dependencies]
73proc-macro2 = "1.0.36" 73proc-macro2 = "1.0.36"
diff --git a/embassy-stm32/src/sdmmc/mod.rs b/embassy-stm32/src/sdmmc/mod.rs
index a8bc6385f..c91f3c8bf 100644
--- a/embassy-stm32/src/sdmmc/mod.rs
+++ b/embassy-stm32/src/sdmmc/mod.rs
@@ -1534,14 +1534,14 @@ mod sdmmc_rs {
1534 1534
1535 impl<'d, T: Instance, P: Pins<T>> BlockDevice for Sdmmc<'d, T, P> { 1535 impl<'d, T: Instance, P: Pins<T>> BlockDevice for Sdmmc<'d, T, P> {
1536 type Error = Error; 1536 type Error = Error;
1537 type ReadFuture<'a> 1537
1538 type ReadFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
1538 where 1539 where
1539 Self: 'a, 1540 Self: 'a;
1540 = impl Future<Output = Result<(), Self::Error>> + 'a; 1541
1541 type WriteFuture<'a> 1542 type WriteFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
1542 where 1543 where
1543 Self: 'a, 1544 Self: 'a;
1544 = impl Future<Output = Result<(), Self::Error>> + 'a;
1545 1545
1546 fn read<'a>( 1546 fn read<'a>(
1547 &'a mut self, 1547 &'a mut self,
diff --git a/embassy-stm32/src/usart/buffered.rs b/embassy-stm32/src/usart/buffered.rs
index 2a711bc06..c30bbc20a 100644
--- a/embassy-stm32/src/usart/buffered.rs
+++ b/embassy-stm32/src/usart/buffered.rs
@@ -283,7 +283,7 @@ impl<'u, 'd, T: BasicInstance> embedded_io::Io for BufferedUartTx<'u, 'd, T> {
283} 283}
284 284
285impl<'d, T: BasicInstance> embedded_io::asynch::Read for BufferedUart<'d, T> { 285impl<'d, T: BasicInstance> embedded_io::asynch::Read for BufferedUart<'d, T> {
286 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 286 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
287 where 287 where
288 Self: 'a; 288 Self: 'a;
289 289
@@ -293,7 +293,7 @@ impl<'d, T: BasicInstance> embedded_io::asynch::Read for BufferedUart<'d, T> {
293} 293}
294 294
295impl<'u, 'd, T: BasicInstance> embedded_io::asynch::Read for BufferedUartRx<'u, 'd, T> { 295impl<'u, 'd, T: BasicInstance> embedded_io::asynch::Read for BufferedUartRx<'u, 'd, T> {
296 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 296 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
297 where 297 where
298 Self: 'a; 298 Self: 'a;
299 299
@@ -303,7 +303,7 @@ impl<'u, 'd, T: BasicInstance> embedded_io::asynch::Read for BufferedUartRx<'u,
303} 303}
304 304
305impl<'d, T: BasicInstance> embedded_io::asynch::BufRead for BufferedUart<'d, T> { 305impl<'d, T: BasicInstance> embedded_io::asynch::BufRead for BufferedUart<'d, T> {
306 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> 306 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a
307 where 307 where
308 Self: 'a; 308 Self: 'a;
309 309
@@ -317,7 +317,7 @@ impl<'d, T: BasicInstance> embedded_io::asynch::BufRead for BufferedUart<'d, T>
317} 317}
318 318
319impl<'u, 'd, T: BasicInstance> embedded_io::asynch::BufRead for BufferedUartRx<'u, 'd, T> { 319impl<'u, 'd, T: BasicInstance> embedded_io::asynch::BufRead for BufferedUartRx<'u, 'd, T> {
320 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> 320 type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a
321 where 321 where
322 Self: 'a; 322 Self: 'a;
323 323
@@ -331,7 +331,7 @@ impl<'u, 'd, T: BasicInstance> embedded_io::asynch::BufRead for BufferedUartRx<'
331} 331}
332 332
333impl<'d, T: BasicInstance> embedded_io::asynch::Write for BufferedUart<'d, T> { 333impl<'d, T: BasicInstance> embedded_io::asynch::Write for BufferedUart<'d, T> {
334 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 334 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
335 where 335 where
336 Self: 'a; 336 Self: 'a;
337 337
@@ -339,7 +339,7 @@ impl<'d, T: BasicInstance> embedded_io::asynch::Write for BufferedUart<'d, T> {
339 self.inner_write(buf) 339 self.inner_write(buf)
340 } 340 }
341 341
342 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 342 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
343 where 343 where
344 Self: 'a; 344 Self: 'a;
345 345
@@ -349,7 +349,7 @@ impl<'d, T: BasicInstance> embedded_io::asynch::Write for BufferedUart<'d, T> {
349} 349}
350 350
351impl<'u, 'd, T: BasicInstance> embedded_io::asynch::Write for BufferedUartTx<'u, 'd, T> { 351impl<'u, 'd, T: BasicInstance> embedded_io::asynch::Write for BufferedUartTx<'u, 'd, T> {
352 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 352 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
353 where 353 where
354 Self: 'a; 354 Self: 'a;
355 355
@@ -357,7 +357,7 @@ impl<'u, 'd, T: BasicInstance> embedded_io::asynch::Write for BufferedUartTx<'u,
357 self.inner.inner_write(buf) 357 self.inner.inner_write(buf)
358 } 358 }
359 359
360 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 360 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
361 where 361 where
362 Self: 'a; 362 Self: 'a;
363 363
diff --git a/embassy-sync/Cargo.toml b/embassy-sync/Cargo.toml
index 584d5ba9f..cd6ff07db 100644
--- a/embassy-sync/Cargo.toml
+++ b/embassy-sync/Cargo.toml
@@ -32,7 +32,7 @@ atomic-polyfill = "1.0.1"
32critical-section = "1.1" 32critical-section = "1.1"
33heapless = "0.7.5" 33heapless = "0.7.5"
34cfg-if = "1.0.0" 34cfg-if = "1.0.0"
35embedded-io = "0.3.0" 35embedded-io = "0.3.1"
36 36
37[dev-dependencies] 37[dev-dependencies]
38futures-executor = { version = "0.3.17", features = [ "thread-pool" ] } 38futures-executor = { version = "0.3.17", features = [ "thread-pool" ] }
diff --git a/embassy-sync/src/pipe.rs b/embassy-sync/src/pipe.rs
index 7d64b648e..cd577f34f 100644
--- a/embassy-sync/src/pipe.rs
+++ b/embassy-sync/src/pipe.rs
@@ -361,7 +361,7 @@ mod io_impls {
361 } 361 }
362 362
363 impl<M: RawMutex, const N: usize> embedded_io::asynch::Read for Pipe<M, N> { 363 impl<M: RawMutex, const N: usize> embedded_io::asynch::Read for Pipe<M, N> {
364 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 364 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
365 where 365 where
366 Self: 'a; 366 Self: 'a;
367 367
@@ -371,7 +371,7 @@ mod io_impls {
371 } 371 }
372 372
373 impl<M: RawMutex, const N: usize> embedded_io::asynch::Write for Pipe<M, N> { 373 impl<M: RawMutex, const N: usize> embedded_io::asynch::Write for Pipe<M, N> {
374 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 374 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
375 where 375 where
376 Self: 'a; 376 Self: 'a;
377 377
@@ -379,7 +379,7 @@ mod io_impls {
379 Pipe::write(self, buf).map(Ok) 379 Pipe::write(self, buf).map(Ok)
380 } 380 }
381 381
382 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 382 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
383 where 383 where
384 Self: 'a; 384 Self: 'a;
385 385
@@ -393,7 +393,7 @@ mod io_impls {
393 } 393 }
394 394
395 impl<M: RawMutex, const N: usize> embedded_io::asynch::Read for &Pipe<M, N> { 395 impl<M: RawMutex, const N: usize> embedded_io::asynch::Read for &Pipe<M, N> {
396 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 396 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
397 where 397 where
398 Self: 'a; 398 Self: 'a;
399 399
@@ -403,7 +403,7 @@ mod io_impls {
403 } 403 }
404 404
405 impl<M: RawMutex, const N: usize> embedded_io::asynch::Write for &Pipe<M, N> { 405 impl<M: RawMutex, const N: usize> embedded_io::asynch::Write for &Pipe<M, N> {
406 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 406 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
407 where 407 where
408 Self: 'a; 408 Self: 'a;
409 409
@@ -411,7 +411,7 @@ mod io_impls {
411 Pipe::write(self, buf).map(Ok) 411 Pipe::write(self, buf).map(Ok)
412 } 412 }
413 413
414 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 414 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
415 where 415 where
416 Self: 'a; 416 Self: 'a;
417 417
@@ -425,7 +425,7 @@ mod io_impls {
425 } 425 }
426 426
427 impl<M: RawMutex, const N: usize> embedded_io::asynch::Read for Reader<'_, M, N> { 427 impl<M: RawMutex, const N: usize> embedded_io::asynch::Read for Reader<'_, M, N> {
428 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 428 type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
429 where 429 where
430 Self: 'a; 430 Self: 'a;
431 431
@@ -439,7 +439,7 @@ mod io_impls {
439 } 439 }
440 440
441 impl<M: RawMutex, const N: usize> embedded_io::asynch::Write for Writer<'_, M, N> { 441 impl<M: RawMutex, const N: usize> embedded_io::asynch::Write for Writer<'_, M, N> {
442 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> 442 type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a
443 where 443 where
444 Self: 'a; 444 Self: 'a;
445 445
@@ -447,7 +447,7 @@ mod io_impls {
447 Writer::write(self, buf).map(Ok) 447 Writer::write(self, buf).map(Ok)
448 } 448 }
449 449
450 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> 450 type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a
451 where 451 where
452 Self: 'a; 452 Self: 'a;
453 453
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml
index c51a71d01..0fd4645a6 100644
--- a/embassy-time/Cargo.toml
+++ b/embassy-time/Cargo.toml
@@ -107,7 +107,7 @@ log = { version = "0.4.14", optional = true }
107 107
108embedded-hal-02 = { package = "embedded-hal", version = "0.2.6" } 108embedded-hal-02 = { package = "embedded-hal", version = "0.2.6" }
109embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true} 109embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true}
110embedded-hal-async = { version = "=0.1.0-alpha.2", optional = true} 110embedded-hal-async = { version = "=0.1.0-alpha.3", optional = true}
111 111
112futures-util = { version = "0.3.17", default-features = false } 112futures-util = { version = "0.3.17", default-features = false }
113embassy-macros = { version = "0.1.0", path = "../embassy-macros"} 113embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml
index 6949042e2..c633f82f5 100644
--- a/examples/nrf/Cargo.toml
+++ b/examples/nrf/Cargo.toml
@@ -17,7 +17,7 @@ embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["de
17embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] } 17embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] }
18embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "pool-16"], optional = true } 18embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "pool-16"], optional = true }
19embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"], optional = true } 19embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"], optional = true }
20embedded-io = "0.3.0" 20embedded-io = "0.3.1"
21embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["sx126x", "time", "defmt"], optional = true } 21embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["sx126x", "time", "defmt"], optional = true }
22 22
23lorawan-device = { version = "0.8.0", default-features = false, features = ["async"], optional = true } 23lorawan-device = { version = "0.8.0", default-features = false, features = ["async"], optional = true }
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml
index 747dde515..ec9896b77 100644
--- a/examples/rp/Cargo.toml
+++ b/examples/rp/Cargo.toml
@@ -28,8 +28,8 @@ display-interface = "0.4.1"
28byte-slice-cast = { version = "1.2.0", default-features = false } 28byte-slice-cast = { version = "1.2.0", default-features = false }
29 29
30embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 30embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
31embedded-hal-async = { version = "0.1.0-alpha.1" } 31embedded-hal-async = { version = "0.1.0-alpha.3" }
32embedded-io = { version = "0.3.0", features = ["async", "defmt"] } 32embedded-io = { version = "0.3.1", features = ["async", "defmt"] }
33static_cell = "1.0.0" 33static_cell = "1.0.0"
34 34
35[profile.release] 35[profile.release]
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml
index b9bd1e718..790258382 100644
--- a/examples/std/Cargo.toml
+++ b/examples/std/Cargo.toml
@@ -9,7 +9,7 @@ embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["lo
9embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "std", "nightly", "integrated-timers"] } 9embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "std", "nightly", "integrated-timers"] }
10embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["log", "std", "nightly"] } 10embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["log", "std", "nightly"] }
11embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "nightly", "log", "medium-ethernet", "tcp", "udp", "dhcpv4", "pool-16"] } 11embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "nightly", "log", "medium-ethernet", "tcp", "udp", "dhcpv4", "pool-16"] }
12embedded-io = { version = "0.3.0", features = ["async", "std", "futures"] } 12embedded-io = { version = "0.3.1", features = ["async", "std", "futures"] }
13critical-section = { version = "1.1", features = ["std"] } 13critical-section = { version = "1.1", features = ["std"] }
14 14
15async-io = "1.6.0" 15async-io = "1.6.0"
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml
index 6d4f09fba..b05457eaa 100644
--- a/examples/stm32f4/Cargo.toml
+++ b/examples/stm32f4/Cargo.toml
@@ -17,7 +17,7 @@ defmt-rtt = "0.3"
17cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } 17cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
18cortex-m-rt = "0.7.0" 18cortex-m-rt = "0.7.0"
19embedded-hal = "0.2.6" 19embedded-hal = "0.2.6"
20embedded-io = "0.3.0" 20embedded-io = "0.3.1"
21panic-probe = { version = "0.3", features = ["print-defmt"] } 21panic-probe = { version = "0.3", features = ["print-defmt"] }
22futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 22futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
23heapless = { version = "0.7.5", default-features = false } 23heapless = { version = "0.7.5", default-features = false }
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml
index dad92c0fc..b14afd2fe 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -10,7 +10,7 @@ embassy-executor = { version = "0.1.0", path = "../../embassy-executor", feature
10embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } 10embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
11embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "net", "stm32f767zi", "unstable-pac", "time-driver-any", "exti"] } 11embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "net", "stm32f767zi", "unstable-pac", "time-driver-any", "exti"] }
12embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "pool-16"] } 12embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "pool-16"] }
13embedded-io = { version = "0.3.0", features = ["async"] } 13embedded-io = { version = "0.3.1", features = ["async"] }
14 14
15defmt = "0.3" 15defmt = "0.3"
16defmt-rtt = "0.3" 16defmt-rtt = "0.3"
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml
index 1a05b9ecb..0dccff6e8 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -10,7 +10,7 @@ embassy-executor = { version = "0.1.0", path = "../../embassy-executor", feature
10embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } 10embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] }
11embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32h743bi", "net", "time-driver-any", "exti", "unstable-pac", "unstable-traits"] } 11embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32h743bi", "net", "time-driver-any", "exti", "unstable-pac", "unstable-traits"] }
12embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "pool-16", "unstable-traits"] } 12embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "pool-16", "unstable-traits"] }
13embedded-io = { version = "0.3.0", features = ["async"] } 13embedded-io = { version = "0.3.1", features = ["async"] }
14 14
15defmt = "0.3" 15defmt = "0.3"
16defmt-rtt = "0.3" 16defmt-rtt = "0.3"
@@ -19,7 +19,7 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20embedded-hal = "0.2.6" 20embedded-hal = "0.2.6"
21embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 21embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
22embedded-hal-async = { version = "=0.1.0-alpha.2" } 22embedded-hal-async = { version = "=0.1.0-alpha.3" }
23embedded-nal-async = "0.2.0" 23embedded-nal-async = "0.2.0"
24panic-probe = { version = "0.3", features = ["print-defmt"] } 24panic-probe = { version = "0.3", features = ["print-defmt"] }
25futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 25futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml
index 7e1120f48..8b00773be 100644
--- a/examples/stm32l0/Cargo.toml
+++ b/examples/stm32l0/Cargo.toml
@@ -22,7 +22,7 @@ defmt = "0.3"
22defmt-rtt = "0.3" 22defmt-rtt = "0.3"
23 23
24embedded-storage = "0.3.0" 24embedded-storage = "0.3.0"
25embedded-io = "0.3.0" 25embedded-io = "0.3.1"
26 26
27cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } 27cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
28cortex-m-rt = "0.7.0" 28cortex-m-rt = "0.7.0"
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml
index 657605ebe..83d456b26 100644
--- a/examples/stm32l4/Cargo.toml
+++ b/examples/stm32l4/Cargo.toml
@@ -20,7 +20,7 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
20cortex-m-rt = "0.7.0" 20cortex-m-rt = "0.7.0"
21embedded-hal = "0.2.6" 21embedded-hal = "0.2.6"
22embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 22embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
23embedded-hal-async = { version = "=0.1.0-alpha.2" } 23embedded-hal-async = { version = "=0.1.0-alpha.3" }
24panic-probe = { version = "0.3", features = ["print-defmt"] } 24panic-probe = { version = "0.3", features = ["print-defmt"] }
25futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 25futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
26heapless = { version = "0.7.5", default-features = false } 26heapless = { version = "0.7.5", default-features = false }
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml
index 63eac3ed2..848723f8b 100644
--- a/examples/stm32l5/Cargo.toml
+++ b/examples/stm32l5/Cargo.toml
@@ -26,5 +26,5 @@ embedded-hal = "0.2.6"
26futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 26futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
27heapless = { version = "0.7.5", default-features = false } 27heapless = { version = "0.7.5", default-features = false }
28rand_core = { version = "0.6.3", default-features = false } 28rand_core = { version = "0.6.3", default-features = false }
29embedded-io = { version = "0.3.0", features = ["async"] } 29embedded-io = { version = "0.3.1", features = ["async"] }
30static_cell = "1.0" 30static_cell = "1.0"
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 1ec19e58b..c05aac3fc 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,7 +1,7 @@
1# Before upgrading check that everything is available on all tier1 targets here: 1# Before upgrading check that everything is available on all tier1 targets here:
2# https://rust-lang.github.io/rustup-components-history 2# https://rust-lang.github.io/rustup-components-history
3[toolchain] 3[toolchain]
4channel = "nightly-2022-09-22" 4channel = "nightly-2022-10-25"
5components = [ "rust-src", "rustfmt" ] 5components = [ "rust-src", "rustfmt" ]
6targets = [ 6targets = [
7 "thumbv7em-none-eabi", 7 "thumbv7em-none-eabi",
diff --git a/tests/rp/Cargo.toml b/tests/rp/Cargo.toml
index d6770d6e9..e1a6dce41 100644
--- a/tests/rp/Cargo.toml
+++ b/tests/rp/Cargo.toml
@@ -18,10 +18,10 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
18cortex-m-rt = "0.7.0" 18cortex-m-rt = "0.7.0"
19embedded-hal = "0.2.6" 19embedded-hal = "0.2.6"
20embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 20embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
21embedded-hal-async = { version = "=0.1.0-alpha.2" } 21embedded-hal-async = { version = "=0.1.0-alpha.3" }
22panic-probe = { version = "0.3.0", features = ["print-defmt"] } 22panic-probe = { version = "0.3.0", features = ["print-defmt"] }
23futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 23futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
24embedded-io = { version = "0.3.0", features = ["async"] } 24embedded-io = { version = "0.3.1", features = ["async"] }
25 25
26[profile.dev] 26[profile.dev]
27debug = 2 27debug = 2
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml
index bebbf557e..602c1fb57 100644
--- a/tests/stm32/Cargo.toml
+++ b/tests/stm32/Cargo.toml
@@ -26,7 +26,7 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
26cortex-m-rt = "0.7.0" 26cortex-m-rt = "0.7.0"
27embedded-hal = "0.2.6" 27embedded-hal = "0.2.6"
28embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" } 28embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
29embedded-hal-async = { version = "=0.1.0-alpha.2" } 29embedded-hal-async = { version = "=0.1.0-alpha.3" }
30panic-probe = { version = "0.3.0", features = ["print-defmt"] } 30panic-probe = { version = "0.3.0", features = ["print-defmt"] }
31 31
32[profile.dev] 32[profile.dev]