diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51fff6d..c182b8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,22 @@ jobs: components: clippy - run: cargo clippy -- -D warnings + direct-minimal-versions: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly + components: clippy + + - run: cargo update -Z direct-minimal-versions + - run: cargo clippy -- -D warnings + rustfmt: runs-on: ${{ matrix.os }} strategy: diff --git a/Cargo.toml b/Cargo.toml index ec98b4e..afb5744 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,8 +20,8 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -num-integer = "0.1.44" -num-traits = "0.2.14" +num-integer = "0.1.46" +num-traits = "0.2.18" num-modular = "0.6.1" bitvec = "1.0.0" rand = "0.8.4" diff --git a/bench/Cargo.toml b/bench/Cargo.toml index 6adcb14..1d29a8b 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -15,10 +15,10 @@ num-primes = { version = "0.3.0", optional = true } [dev-dependencies] criterion = { version = "4.4.1", package = "codspeed-criterion-compat" } glass_pumpkin = "1.2.0" -num-bigint = { version = "0.4", features = ["rand"] } +num-bigint = { version = "0.4.6", features = ["rand"] } num-prime = { path = "..", features = ["big-int"] } primal-check = "0.3.1" -rand = "0.8" +rand = "0.8.4" rand_chacha = "0.10" rand_core = "0.10"