diff --git a/Cargo.toml b/Cargo.toml index ed0414f..495747f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ members = [ ] [workspace.dependencies] -embassy-futures = { version = "0.1", default-features = false } +embassy-futures = { version = "0.1.2", default-features = false } embassy-sync = { version = "0.7", default-features = false } embassy-time = { version = "0.4", default-features = false } embedded-io-async = { version = "0.6", default-features = false } diff --git a/edge-dhcp/CHANGELOG.md b/edge-dhcp/CHANGELOG.md index 76dedd7..cf00e6f 100644 --- a/edge-dhcp/CHANGELOG.md +++ b/edge-dhcp/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +* Updated embassy-futures to 0.1.2 + ## [0.6.0] - 2025-05-29 * Optional `defmt` support via two new features (one has to specify one, or the other, or neither, but not both): * `log` - uses the `log` crate for all logging @@ -23,4 +27,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Migrated the client and the server to the `edge-nal` traits * Migrated the server to only require `UdpSend` and `UdpReceive`, without the need to manipulate raw IP payloads anymore * Raised MSRV to 1.77 - diff --git a/edge-http/CHANGELOG.md b/edge-http/CHANGELOG.md index f7771da..01a7fda 100644 --- a/edge-http/CHANGELOG.md +++ b/edge-http/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +* Updated embassy-futures to 0.1.2 + ## [0.6.0] - 2025-05-29 * Optional `defmt` support via two new features (one has to specify one, or the other, or neither, but not both): * `log` - uses the `log` crate for all logging diff --git a/edge-http/src/io/server.rs b/edge-http/src/io/server.rs index 6c5e55d..4c49626 100644 --- a/edge-http/src/io/server.rs +++ b/edge-http/src/io/server.rs @@ -746,7 +746,10 @@ impl Server { .map_err(|_| ())); } - let (result, _) = embassy_futures::select::select_slice(&mut tasks).await; + let tasks = pin!(tasks); + + let tasks = unsafe { tasks.map_unchecked_mut(|t| t.as_mut_slice()) }; + let (result, _) = embassy_futures::select::select_slice(tasks).await; warn!( "Server processing loop quit abruptly: {:?}", diff --git a/edge-mdns/CHANGELOG.md b/edge-mdns/CHANGELOG.md index 11724e6..b793ad3 100644 --- a/edge-mdns/CHANGELOG.md +++ b/edge-mdns/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +* Updated embassy-futures to 0.1.2 + ## [0.6.1] - 2025-08-14 * Fix HostAnswersMdnsHandler responding to any A/AAAA queries even without match diff --git a/edge-nal-embassy/CHANGELOG.md b/edge-nal-embassy/CHANGELOG.md index 4e891a7..5700c17 100644 --- a/edge-nal-embassy/CHANGELOG.md +++ b/edge-nal-embassy/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +* Updated embassy-futures to 0.1.2 + ## [0.6.0] - 2025-05-29 * Optional `defmt` support via two new features (one has to specify one, or the other, or neither, but not both): * `log` - uses the `log` crate for all logging