Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
12 changes: 7 additions & 5 deletions .github/workflows/rdrand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ on:
- '*.mkd'
- 'LICENSE'
pull_request:
types: [opened, repoened, synchronize]
types: [opened, reopened, synchronize]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
rust_toolchain: [nightly, stable, 1.46.0]
os: [ubuntu-latest, windows-latest, macOS-latest]
# toolchain 1.46 cannot parse edition 2021, libc requires MSRV 1.63
rust_toolchain: [nightly, stable, 1.63]
# doesn't compile on Apple Silicon (issue #20)
os: [ubuntu-latest, windows-latest, macos-13]
flags: ["", "--no-default-features", "--release", "--release --no-default-features"]
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_toolchain }}
Expand All @@ -34,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "An implementation of random number generator based on rdrand and
keywords = ["rand", "rdrand", "rdseed", "random"]
license = "ISC"
repository = "https://github.com/nagisa/rust_rdrand/"
documentation = "https://docs.rs/rdrand/0.8.2/"
documentation = "https://docs.rs/rdrand/0.8.3/"
edition = "2018"

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

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

[features]
default = ["std"]
Expand Down