From d8baabd1e11e14a572e071f9cf486d7993eff78f Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 14 Nov 2026 14:42:39 +0000 Subject: [PATCH 1/3] chore(deps): bump tinystoragedrivers and consolidate rand versions Updated the tinystoragedrivers git dependency to 2.1.3 and refreshed the lockfile, which also upgrades rusqlite and libsqlite3-sys and drops the duplicate rand 0.9 and getrandom 0.3 trees in favour of the single rand 0.10 line. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- Cargo.lock | 163 +++++----------------- crates/tinyinference-image/Cargo.toml | 6 +- crates/tinyinference-providers/Cargo.toml | 2 +- 3 files changed, 40 insertions(+), 131 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c06e9e9e..e8be6430 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,7 +211,7 @@ checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" dependencies = [ "cfg-if", "cpufeatures", - "rand_core 0.10.1", + "rand_core", ] [[package]] @@ -299,7 +299,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -442,18 +442,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "getrandom" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" -dependencies = [ - "cfg-if", - "libc", - "r-efi 5.3.0", - "wasip2", -] - [[package]] name = "getrandom" version = "0.4.3" @@ -463,8 +451,8 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "r-efi 6.0.0", - "rand_core 0.10.1", + "r-efi", + "rand_core", "wasm-bindgen", ] @@ -760,9 +748,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", @@ -981,15 +969,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - [[package]] name = "proc-macro2" version = "1.0.107" @@ -1028,7 +1007,7 @@ dependencies = [ "bytes", "getrandom 0.4.3", "lru-slab", - "rand 0.10.3", + "rand", "rand_pcg", "ring", "rustc-hash", @@ -1052,7 +1031,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -1064,28 +1043,12 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "r-efi" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" - [[package]] name = "r-efi" version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" -[[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_chacha", - "rand_core 0.9.5", -] - [[package]] name = "rand" version = "0.10.3" @@ -1094,26 +1057,7 @@ checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" dependencies = [ "chacha20", "getrandom 0.4.3", - "rand_core 0.10.1", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", + "rand_core", ] [[package]] @@ -1128,7 +1072,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" dependencies = [ - "rand_core 0.10.1", + "rand_core", ] [[package]] @@ -1271,9 +1215,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", @@ -1309,7 +1253,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -1621,7 +1565,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -1812,7 +1756,7 @@ dependencies = [ "async-trait", "axum", "base64 0.23.1", - "rand 0.10.3", + "rand", "reqwest", "serde", "serde_json", @@ -1859,8 +1803,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "bytes", @@ -1873,8 +1817,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "bytes", @@ -1887,8 +1831,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "rusqlite", "serde_json", @@ -1899,8 +1843,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "data-encoding", @@ -1917,8 +1861,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "serde", @@ -1929,8 +1873,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "data-encoding", @@ -1945,8 +1889,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "tinystoragedrivers-api", @@ -1956,8 +1900,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "async-trait", "bytes", @@ -1977,8 +1921,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=6355ea266e6701c3b90b0f357cdaba8baa7f260d#6355ea266e6701c3b90b0f357cdaba8baa7f260d" dependencies = [ "serde", "serde_json", @@ -2213,11 +2157,11 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "ulid" -version = "1.2.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "470dbf6591da1b39d43c14523b2b469c86879a53e8b758c8e090a470fe7b1fbe" +checksum = "947dde63b6d514cc5e044edad4e0ca7261afd1099d16c83d942cb2b2f348689c" dependencies = [ - "rand 0.9.5", + "rand", "web-time", ] @@ -2295,15 +2239,6 @@ version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" -[[package]] -name = "wasip2" -version = "1.0.4+wasi-0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" -dependencies = [ - "wit-bindgen", -] - [[package]] name = "wasm-bindgen" version = "0.2.129" @@ -2490,12 +2425,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" -[[package]] -name = "wit-bindgen" -version = "0.57.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" - [[package]] name = "writeable" version = "0.6.4" @@ -2553,26 +2482,6 @@ dependencies = [ "synstructure 0.14.0", ] -[[package]] -name = "zerocopy" -version = "0.8.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "zerofrom" version = "0.1.8" diff --git a/crates/tinyinference-image/Cargo.toml b/crates/tinyinference-image/Cargo.toml index 87de67e0..2f51c5e5 100644 --- a/crates/tinyinference-image/Cargo.toml +++ b/crates/tinyinference-image/Cargo.toml @@ -21,15 +21,15 @@ serde_json = { workspace = true } thiserror = { workspace = true } tinyinference-core = { version = "0.5.0", path = "../tinyinference-core" } # Storage ports only: generated media is written through a `BlobStore`. -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.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6355ea266e6701c3b90b0f357cdaba8baa7f260d" } +tinystoragedrivers-types = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6355ea266e6701c3b90b0f357cdaba8baa7f260d" } tokio = { workspace = true, features = ["fs"] } tracing = { workspace = true } [dev-dependencies] axum = { workspace = true } tempfile = { workspace = true } -tinystoragedrivers-testkit = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-testkit = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6355ea266e6701c3b90b0f357cdaba8baa7f260d" } tokio = { workspace = true, features = ["fs", "net"] } [lints] diff --git a/crates/tinyinference-providers/Cargo.toml b/crates/tinyinference-providers/Cargo.toml index 4c712877..7b1c938a 100644 --- a/crates/tinyinference-providers/Cargo.toml +++ b/crates/tinyinference-providers/Cargo.toml @@ -20,7 +20,7 @@ serde = { workspace = true } serde_json = { workspace = true } sha2 = { workspace = true } # The host decides which driver backs this storage port. -tinystoragedrivers-api = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6226b9484c8bd01c58741718cd89ba90a13a36bb" } +tinystoragedrivers-api = { version = "2.1.2", git = "https://github.com/tinyhumansai/tinystoragedrivers", rev = "6355ea266e6701c3b90b0f357cdaba8baa7f260d" } tracing = { workspace = true } url = { workspace = true } zeroize = "1" From 093a31575b51dc4209c298babce1efeab3a9cd57 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 14 Nov 2026 14:46:51 +0000 Subject: [PATCH 2/3] docs(changelog): note tinystoragedrivers re-pin to 2.1.3 Document that the tinystoragedrivers packages were re-pinned to 2.1.3, pulling in newer rusqlite and libsqlite3-sys versions that clear RUSTSEC-2026-0459 from the dev-dependency tree without adding an advisory ignore. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8988c1..3b72af2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +- Security: re-pin `tinystoragedrivers-*` to 2.1.3, which moves `rusqlite` to 0.41.1 + and `libsqlite3-sys` to 0.39.x (SQLite 3.54). Clears RUSTSEC-2026-0459 from the + dev-dependency tree of `tinyinference-image`; no advisory ignore was added. + ## 0.5.0 - TinyHumans managed model: `TinyHumansModel::new_with_credential` takes a From 12ab81aed01dba02a069ca649dae91d4e14289de Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 14 Nov 2026 14:51:50 +0000 Subject: [PATCH 3/3] chore(msrv): raise MSRV to 1.89 for rusqlite 0.41 and tinystoragedrivers 2.1.3 Co-authored-by: Medulla --- .github/workflows/ci.yml | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81add45a..849240be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: run: cargo +stable doc --no-deps --all-features msrv: - name: Rust 1.88 MSRV + name: Rust 1.89 MSRV runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -55,10 +55,10 @@ jobs: persist-credentials: false - name: Install declared MSRV - run: rustup toolchain install 1.88.0 --profile minimal + run: rustup toolchain install 1.89.0 --profile minimal - name: Build with the declared MSRV - run: cargo +1.88.0 build --all-targets --all-features + run: cargo +1.89.0 build --all-targets --all-features supply-chain: name: Supply chain diff --git a/Cargo.toml b/Cargo.toml index 016a3bb3..f6523363 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ exclude = ["vendor", "worktrees"] [workspace.package] version = "0.5.0" edition = "2024" -rust-version = "1.88" +rust-version = "1.89" license = "GPL-3.0-only" repository = "https://github.com/tinyhumansai/tinyinference"