From 89d399c081dd0fa5b002bd4923675b32feb296cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 May 2025 17:53:26 +0000 Subject: [PATCH 1/4] Update criterion requirement from 0.5 to 0.6 Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version. - [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.0...0.6.0) --- updated-dependencies: - dependency-name: criterion dependency-version: 0.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index adf1c7f..ffd70b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ no-panic = { version = "0.1", optional = true } num_cpus = "1.8" rand = "0.9" rand_xorshift = "0.4" -criterion = "0.5" +criterion = "0.6" [lib] bench = false From 97e828e2026e0678751f16bf37623bb51c657682 Mon Sep 17 00:00:00 2001 From: Haled Odat <8566042+HalidOdat@users.noreply.github.com> Date: Mon, 19 May 2025 23:31:13 +0200 Subject: [PATCH 2/4] Bump msrv from 1.64 to 1.66 --- .clippy.toml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.clippy.toml b/.clippy.toml index 22fd4be..e90d7e3 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.64.0" +msrv = "1.66.0" diff --git a/Cargo.toml b/Cargo.toml index ffd70b6..1c0651a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ exclude = ["build.rs", "performance.png", "chart/**"] keywords = ["float"] license = "Apache-2.0 OR BSL-1.0" repository = "https://github.com/boa-dev/ryu-js" -rust-version = "1.64" +rust-version = "1.66" [features] # Use smaller lookup tables. Instead of storing every required power of From 4d995c9571bca5112bd9d7e4e525a075f3d90cdb Mon Sep 17 00:00:00 2001 From: Haled Odat <8566042+HalidOdat@users.noreply.github.com> Date: Mon, 19 May 2025 23:31:29 +0200 Subject: [PATCH 3/4] Fix clippy warnings --- benches/bench.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benches/bench.rs b/benches/bench.rs index ffd24b8..c50ee34 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -6,7 +6,8 @@ clippy::unreadable_literal )] -use criterion::{black_box, criterion_group, criterion_main, Criterion}; +use criterion::{criterion_group, criterion_main, Criterion}; +use std::hint::black_box; use std::io::Write; macro_rules! benches { From f36598ee592e7a6b0b16bd8a566c019a81bc5c78 Mon Sep 17 00:00:00 2001 From: Haled Odat <8566042+HalidOdat@users.noreply.github.com> Date: Mon, 19 May 2025 23:39:35 +0200 Subject: [PATCH 4/4] Bump rust version in CI workflow --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38ef58c..9586e0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,12 @@ jobs: continue-on-error: true msrv: - name: Rust 1.64.0 + name: Rust 1.66.0 runs-on: ubuntu-latest timeout-minutes: 45 steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.64.0 + - uses: dtolnay/rust-toolchain@1.66.0 - run: cargo build - run: cargo build --features small