diff --git a/Cargo.lock b/Cargo.lock index 3c2a4e6b3..ab014fa00 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", @@ -1490,9 +1488,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.38.2" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1d20bef17f513b9b3004532233187769cd072d790971f4e4da0e346eb6401e8" +checksum = "14a5f01b87b92705d07b433c06f96cbc764637d81a0bffb5734ce17cf0f9a2b3" dependencies = [ "cc", "pkg-config", @@ -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" @@ -2078,9 +2070,9 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.40.2" +version = "0.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23f2a97da3e3873c73cb2a2e71b35c40ff95e0b1eefa8d72d8499a6928c3b5b3" +checksum = "da9bba6f3506135e120a6586df05be18b48d18896600646a4bec8f993d91a594" dependencies = [ "bitflags", "fallible-iterator", @@ -2108,9 +2100,9 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", @@ -2760,8 +2752,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-api" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "bytes", @@ -2774,8 +2766,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-blob" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "bytes", @@ -2788,8 +2780,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-bus" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "serde", "serde_json", @@ -2799,8 +2791,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-busproxy" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "bytes", @@ -2817,8 +2809,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-connect" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "rusqlite", "serde_json", @@ -2829,8 +2821,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-document" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "data-encoding", @@ -2847,8 +2839,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-kv" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "serde", @@ -2859,8 +2851,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-queue" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "data-encoding", @@ -2875,8 +2867,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-secrets" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "tinystoragedrivers-api", @@ -2886,8 +2878,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-testkit" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "async-trait", "bytes", @@ -2907,8 +2899,8 @@ dependencies = [ [[package]] name = "tinystoragedrivers-types" -version = "2.1.2" -source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=6226b9484c8bd01c58741718cd89ba90a13a36bb#6226b9484c8bd01c58741718cd89ba90a13a36bb" +version = "2.1.3" +source = "git+https://github.com/tinyhumansai/tinystoragedrivers?rev=f5a33025b9feaa36fea522cce764fe8c796e5139#f5a33025b9feaa36fea522cce764fe8c796e5139" dependencies = [ "serde", "serde_json", @@ -3902,9 +3894,9 @@ dependencies = [ [[package]] name = "xattr" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" +checksum = "963d6fab92d5504b971dc8bd90ca743c2575e590bc8071ea5bc571598667ae08" dependencies = [ "libc", "rustix", diff --git a/Cargo.toml b/Cargo.toml index a421b7fc3..f4b9ff24f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -111,8 +111,8 @@ tinychannels-bus = { path = "crates/tinychannels-bus", features = ["storage"] } tinychannels-runtime = { path = "crates/tinychannels-runtime" } # Storage ports only: no driver crate and no database client. The host (or the # bus client in the module crate) supplies the backend. -tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } -tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } +tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } anyhow = "1" async-trait = "0.1" base64 = "0.23" @@ -127,7 +127,7 @@ parking_lot = "0.12" prost = { version = "0.14", optional = true } rand = "0.10" reqwest = { version = "0.12", default-features = false, features = ["json", "multipart", "rustls-tls", "stream"] } -rusqlite = { version = "0.40", features = ["bundled"], optional = true } +rusqlite = { version = "0.41", features = ["bundled"], optional = true } rustls = { version = "0.23", default-features = false, features = ["ring", "std", "logging", "tls12"] } rustls-pki-types = "1.14.0" schemars = { version = "1", features = ["derive"] } @@ -146,7 +146,13 @@ uuid = { version = "1", features = ["v4"] } webpki-roots = "1.0.6" # Email channel (SMTP + IMAP). -async-imap = { version = "0.12", default-features = false, features = ["runtime-tokio"], optional = true } +# 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. It is pinned here, on the +# dependency itself rather than a [patch], so workspaces that depend on +# tinychannels get it too. Return to the crates.io release (and drop the +# deny.toml allow-git entry) once a release after 0.12.0 is published. +async-imap = { version = "0.12", git = "https://github.com/async-email/async-imap", rev = "d1f2606421c9211f992c1c565a32d8f770476aeb", default-features = false, features = ["runtime-tokio"], optional = true } lettre = { version = "0.11.22", default-features = false, features = ["builder", "smtp-transport", "rustls-tls", "tokio1-rustls-tls"], optional = true } mail-parser = { version = "0.11.2", optional = true } @@ -174,5 +180,5 @@ tempfile = "3" toml = "1" wiremock = "0.6" tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "test-util"] } -tinystoragedrivers-testkit = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } -tinystoragedrivers-document = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-testkit = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } +tinystoragedrivers-document = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } diff --git a/crates/tinychannels-module/Cargo.toml b/crates/tinychannels-module/Cargo.toml index 5b55aae2a..515bf6164 100644 --- a/crates/tinychannels-module/Cargo.toml +++ b/crates/tinychannels-module/Cargo.toml @@ -34,9 +34,9 @@ tinybus-module = { version = "=0.3.12", git = "https://github.com/senamakel/tiny tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] } # Storage over the bus: the module reaches host storage through the same port # traits a linked library gets, never through per-module persistence callbacks. -tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } -tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } -tinystoragedrivers-busproxy = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } +tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } +tinystoragedrivers-busproxy = { version = "2.1.3", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } serde_json = "1" serde = { version = "1", features = ["derive"] } sha2 = "0.11" @@ -54,7 +54,7 @@ base64 = "0.23" tinychannels = { path = "../.." } tinychannels-conformance = { path = "../tinychannels-conformance" } tinybus = { workspace = true, features = ["test-support"] } -tinystoragedrivers-testkit = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-testkit = { git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } tempfile = "3" tokio = { version = "1", features = ["test-util"] } serde_json = "1" 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", ]