Skip to content

Commit 9f99a62

Browse files
committed
chore: update dependencies
1 parent 8a29f27 commit 9f99a62

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: cargo
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: github-actions
8+
directory: /
9+
schedule:
10+
interval: weekly

.github/workflows/rdrand.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,22 @@ on:
66
- '*.mkd'
77
- 'LICENSE'
88
pull_request:
9-
types: [opened, repoened, synchronize]
9+
types: [opened, reopened, synchronize]
1010

1111
jobs:
1212
test:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
rust_toolchain: [nightly, stable, 1.46.0]
18-
os: [ubuntu-latest, windows-latest, macOS-latest]
17+
# toolchain 1.46 cannot parse edition 2021, libc requires MSRV 1.63
18+
rust_toolchain: [nightly, stable, 1.63]
19+
# doesn't compile on Apple Silicon (issue #20)
20+
os: [ubuntu-latest, windows-latest, macos-13]
1921
flags: ["", "--no-default-features", "--release", "--release --no-default-features"]
2022
timeout-minutes: 20
2123
steps:
22-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v5
2325
- uses: actions-rs/toolchain@v1
2426
with:
2527
toolchain: ${{ matrix.rust_toolchain }}
@@ -34,7 +36,7 @@ jobs:
3436
runs-on: ubuntu-latest
3537
timeout-minutes: 20
3638
steps:
37-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v5
3840
- uses: actions-rs/toolchain@v1
3941
with:
4042
toolchain: stable

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "An implementation of random number generator based on rdrand and
66
keywords = ["rand", "rdrand", "rdseed", "random"]
77
license = "ISC"
88
repository = "https://github.com/nagisa/rust_rdrand/"
9-
documentation = "https://docs.rs/rdrand/0.8.2/"
9+
documentation = "https://docs.rs/rdrand/0.8.3/"
1010
edition = "2018"
1111

1212
[[bench]]
@@ -17,7 +17,7 @@ harness = false
1717
rand_core = { version = "0.6", default-features = false }
1818

1919
[dev-dependencies]
20-
criterion = "0.3"
20+
criterion = ">=0.3" # allow testing with old MSRV, bench with latest release for stable
2121

2222
[features]
2323
default = ["std"]

0 commit comments

Comments
 (0)