From add01070ba103c8c7d86a053227a0cab4feeb0f3 Mon Sep 17 00:00:00 2001 From: M3gA-Mind Date: Wed, 11 Nov 2026 17:15:55 +0530 Subject: [PATCH] Pin tinystoragedrivers v2.1.3 and move to Rust 1.89 cargo-deny fails Supply chain on main with RUSTSEC-2026-0459 (CVE-2026-119375): libsqlite3-sys 0.38.2 bundles SQLite older than 3.54. It arrives through the tinystoragedrivers testkit dev-dependency (via rusqlite 0.40). tinystoragedrivers v2.1.3 (f5a33025b9) moves to rusqlite 0.41.1 / libsqlite3-sys 0.39.1, so pin that release. rusqlite 0.41 needs Rust 1.89, so rust-version moves from 1.88 to 1.89. Also move rustix to 1.1.6 and xattr 1.6.1 -> 1.7.0 (xattr 1.7.0 is the release built for rustix 1.1.6's change), for RUSTSEC-2026-0486 (rustix 1.0-1.1.5 xattr functions unsound on a zero-length buffer). Nothing in this workspace calls those functions directly. --- Cargo.lock | 60 +++++++++++++++---------------- Cargo.toml | 8 ++--- crates/tinyeventqueues/Cargo.toml | 4 +-- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60b74d1..4770081 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -502,9 +502,9 @@ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" [[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", @@ -680,9 +680,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", @@ -695,9 +695,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", @@ -1034,8 +1034,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", @@ -1048,8 +1048,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", @@ -1062,8 +1062,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", @@ -1073,8 +1073,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", @@ -1091,8 +1091,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", @@ -1103,8 +1103,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", @@ -1121,8 +1121,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", @@ -1133,8 +1133,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", @@ -1149,8 +1149,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", @@ -1160,8 +1160,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", @@ -1181,8 +1181,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", @@ -1575,9 +1575,9 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" [[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 6406a7a..c6d247b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ exclude = ["vendor", "worktrees"] [workspace.package] version = "0.2.4" edition = "2024" -rust-version = "1.88" +rust-version = "1.89" license = "GPL-3.0-only" repository = "https://github.com/tinyhumansai/tinyeventqueues" @@ -48,10 +48,10 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" # Stable v2 storage contracts and pure value types; engine implementations are # selected by the host rather than this queue owner. -tinystoragedrivers-api = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } -tinystoragedrivers-types = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-api = { version = "2.1.3", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } +tinystoragedrivers-types = { version = "2.1.3", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } # Module-side adapters to host-owned storage ports. -tinystoragedrivers-busproxy = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-busproxy = { version = "2.1.3", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } # Module diagnostics; the host installs the logger. log = "0.4" # The host-callback trait (`Host`) is an async trait object. diff --git a/crates/tinyeventqueues/Cargo.toml b/crates/tinyeventqueues/Cargo.toml index e696976..bbaa24d 100644 --- a/crates/tinyeventqueues/Cargo.toml +++ b/crates/tinyeventqueues/Cargo.toml @@ -42,10 +42,10 @@ log = { workspace = true } [dev-dependencies] tokio = { workspace = true } # Real in-memory engines and shared queue conformance checks, for tests only. -tinystoragedrivers-testkit = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-testkit = { version = "2.1.3", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } # Deterministic queue-clock tests use the v2 memory engine with the pipeline # ManualClock; production still receives QueueStore only from the host. -tinystoragedrivers-queue = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-queue = { version = "2.1.3", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "f5a33025b9feaa36fea522cce764fe8c796e5139" } # The public-API test implements the `Host` trait as a downstream host does. async-trait = { workspace = true } # The release verifier passes an explicit empty module configuration, and the