From 23160ff34715183439dd4d4bdc4a7953f4219968 Mon Sep 17 00:00:00 2001 From: Serge Barral Date: Thu, 4 Apr 2024 13:29:57 +0200 Subject: [PATCH 1/2] Update `multishot` crate dependency A soundness issue was discovered in the `multishot` dependency that was fixed in 0.3.2. --- CHANGELOG.md | 1 + asynchronix/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1833adb..c0efdd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # unreleased - Add `serde` feature and serialization support for `MonotonicTime`. +- Update `multishot` dependency due to soundness issue in older version. # 0.2.1 (2024-03-06) diff --git a/asynchronix/Cargo.toml b/asynchronix/Cargo.toml index 6c39158..8e0b1ab 100644 --- a/asynchronix/Cargo.toml +++ b/asynchronix/Cargo.toml @@ -32,7 +32,7 @@ async-event = "0.1" crossbeam-utils = "0.8" diatomic-waker = "0.1" futures-task = "0.3" -multishot = "0.3" +multishot = "0.3.2" num_cpus = "1.13" pin-project-lite = "0.2" recycle-box = "0.2" From 8d3427daafd822e9465dc5ea5f38cb27b235f8b5 Mon Sep 17 00:00:00 2001 From: Serge Barral Date: Thu, 4 Apr 2024 13:37:21 +0200 Subject: [PATCH 2/2] Fix CI script --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90ecff4..f156eac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,7 @@ jobs: toolchain: ${{ matrix.rust }} - name: Run cargo check - run: cargo check - args: --all-features + run: cargo check --all-features test: name: Test suite