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/.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 diff --git a/Cargo.toml b/Cargo.toml index adf1c7f..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 @@ -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 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 {