From 04a394cdfa54fb84d9c1492236b4c801ff351252 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 8 Feb 2026 12:27:50 -0800 Subject: [PATCH 1/2] Update rand from 0.9 to 0.10 --- Cargo.toml | 6 +++--- examples/upstream_benchmark.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 44828b2..0c6eacc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,9 +24,9 @@ no-panic = { version = "0.1", optional = true } [dev-dependencies] num_cpus = "1.8" -rand = "=0.10.0-rc.5" -rand_core = "=0.10.0-rc-2" -rand_xorshift = "=0.5.0-rc.0" +rand = "0.10" +rand_core = "0.10" +rand_xorshift = "0.5" [target.'cfg(not(miri))'.dev-dependencies] criterion = { version = "0.8", default-features = false } diff --git a/examples/upstream_benchmark.rs b/examples/upstream_benchmark.rs index 8de56ac..e1b2e96 100644 --- a/examples/upstream_benchmark.rs +++ b/examples/upstream_benchmark.rs @@ -1,6 +1,6 @@ // cargo run --example upstream_benchmark --release -use rand::{Rng, SeedableRng}; +use rand::{RngExt as _, SeedableRng as _}; const SAMPLES: usize = 10000; const ITERATIONS: usize = 1000; From e9960fd2cdd13ada4b0c5cbb7e10e789c1006cf6 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 8 Feb 2026 12:28:42 -0800 Subject: [PATCH 2/2] Raise required compiler to Rust 1.71 --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b4789b..fe5dea8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,14 +48,14 @@ jobs: continue-on-error: true msrv: - name: Rust 1.68.0 + name: Rust 1.71.0 needs: pre_ci if: needs.pre_ci.outputs.continue runs-on: ubuntu-latest timeout-minutes: 45 steps: - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@1.68.0 + - uses: dtolnay/rust-toolchain@1.71.0 - run: cargo build - run: cargo build --features small diff --git a/Cargo.toml b/Cargo.toml index 0c6eacc..0513408 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ exclude = ["build.rs", "*.png"] keywords = ["float"] license = "Apache-2.0 OR BSL-1.0" repository = "https://github.com/dtolnay/ryu" -rust-version = "1.68" +rust-version = "1.71" [features] # Use smaller lookup tables. Instead of storing every required power of