From 23a1bc0da29e12eaf4caa1cb658e279ad0f9ddd3 Mon Sep 17 00:00:00 2001 From: Nikolai Golub Date: Wed, 25 Nov 2026 12:07:51 +0100 Subject: [PATCH] deps: lower the ruint floor to 1.17.1 ruint 1.18 and later declare rust-version 1.90. Solana platform-tools (up to v1.56) ship rustc 1.89, so nomt-core cannot be built for SBF with the 1.21 floor. 1.17.1 is the oldest release with the reciprocal_mg10 soundness fix (RUSTSEC-2025-0137). The shift-flag advisory fixed in 1.20 (RUSTSEC-2026-0220) only affects the overflow flags of checked/overflowing shifts, which nomt does not use. Cargo.lock stays on 1.21.1. Co-Authored-By: Claude Opus 5.5 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0ae64888a1..9799379a82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ license = "MIT/Apache-2.0" borsh = { version = "1.5.7", default-features = false, features = ["derive"] } bitvec = { version = "1", default-features = false, features = ["alloc"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } -ruint = { version = "1.21", default-features = false } +ruint = { version = "1.17.1", default-features = false } arrayvec = { version = "0.7", default-features = false } blake3 = { version = "1.5.1", default-features = false } sha2 = { version = "0.10.6", default-features = false }