-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rand_jitter v0.4, platform_ns_time feature, MSRV=1.51, rustfmt #47
Changes from all commits
2af1e7d
2b86ba1
5a5cdf5
0aa1715
218a632
4b4d361
153d42f
8b94537
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,9 +48,6 @@ jobs: | |
target: x86_64-pc-windows-msvc | ||
toolchain: beta | ||
# Test both windows-gnu and windows-msvc; use beta rust on one | ||
- os: ubuntu-latest | ||
target: x86_64-unknown-linux-gnu | ||
toolchain: 1.36.0 # MSRV | ||
- os: ubuntu-latest | ||
deps: sudo apt-get update ; sudo apt install gcc-multilib | ||
target: i686-unknown-linux-gnu | ||
|
@@ -85,12 +82,38 @@ jobs: | |
cargo test --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features | ||
cargo test --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features | ||
|
||
msrv: | ||
name: MSRV for rand_isaac / rand_xorshift / rand_xoshiro | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] # older versions may work (untested) | ||
- run: cd rand_isaac && cargo test --all-features | ||
- run: cd rand_xorshift && cargo test --all-features | ||
- run: cd rand_xoshiro && cargo test --all-features | ||
|
||
msrv_hc: | ||
name: MSRV for rand_hc | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
- run: cd rand_hc && cargo test --all-features | ||
|
||
msrv_jitter: | ||
name: MSRV for rand_jitter | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
- run: cd rand_jitter && cargo test --features std | ||
|
||
test-cross: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: [mips-unknown-linux-gnu] | ||
target: [powerpc-unknown-linux-gnu] | ||
toolchain: [stable] | ||
|
||
steps: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rand_jitter" | ||
version = "0.3.0" | ||
version = "0.4.0" | ||
authors = ["The Rand Project Developers"] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
|
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/rand_jitter" | |
description = "Random number generator based on timing jitter" | ||
keywords = ["random", "rng", "os"] | ||
edition = "2018" | ||
rust-version = "1.51" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would be great to add this to the other There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That can happen when these get updated... they will need an MSRV update for the next |
||
|
||
[dependencies] | ||
rand_core = { version = "0.6" } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 1.36 should work for them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd have to pin older versions of dependencies (see failure). Doesn't seem worth it.