diff --git a/Cargo.lock b/Cargo.lock index 3c2a4e6b3..1f8fe641e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,8 +91,7 @@ dependencies = [ [[package]] name = "async-imap" version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97b87216c9f0ccc63c516263169085fa34bba25633f6d96c6a9b9ca1fd5f70a" +source = "git+https://github.com/async-email/async-imap?rev=d1f2606421c9211f992c1c565a32d8f770476aeb#d1f2606421c9211f992c1c565a32d8f770476aeb" dependencies = [ "async-channel 2.5.0", "async-compression", @@ -104,7 +103,6 @@ dependencies = [ "log", "nom", "pin-project", - "pin-utils", "self_cell", "stop-token", "thiserror 1.0.69", @@ -1697,12 +1695,6 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" -[[package]] -name = "pin-utils" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13bee6c73da26345c729282832b60b0363cf3dd9f4bfd81d8551b7a1c889a113" - [[package]] name = "pkg-config" version = "0.3.34" diff --git a/Cargo.toml b/Cargo.toml index a421b7fc3..52268a7a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,11 @@ resolver = "3" [patch.crates-io] tinybus = { path = "vendor/tinybus/crates/tinybus" } tinybus-module = { path = "vendor/tinybus/crates/tinybus-module" } +# async-imap 0.12.0 depends on pin-utils, which is unmaintained (RUSTSEC-2026-0441). +# Upstream replaced it with pin-project in d1f2606421, the only commit after the +# 0.12.0 release, so this is 0.12.0 with that one change. Drop this patch (and its +# deny.toml allow-git entry) once a release after 0.12.0 is published. +async-imap = { git = "https://github.com/async-email/async-imap", rev = "d1f2606421c9211f992c1c565a32d8f770476aeb" } # tinystoragedrivers names tinybus by git rev; point that source at the same # vendored checkout so the module and the storage client share one `Connection`. diff --git a/deny.toml b/deny.toml index 0f9c0796e..54aec0d7b 100644 --- a/deny.toml +++ b/deny.toml @@ -49,9 +49,11 @@ unknown-registry = "deny" unknown-git = "deny" allow-registry = ["https://github.com/rust-lang/crates.io-index"] # Storage/voice use canonical revisions; the attested TinyBus SDK is pinned -# to the coordinated migration PR until it lands upstream. +# to the coordinated migration PR until it lands upstream. async-imap is pinned +# to the upstream commit that drops pin-utils until its next release (Cargo.toml). allow-git = [ "https://github.com/tinyhumansai/tinystoragedrivers", "https://github.com/tinyhumansai/tinyvoice", "https://github.com/senamakel/tinybus", + "https://github.com/async-email/async-imap", ]