Skip to content

Commit 052b80f

Browse files
authored
Update to Edition 2024, MSRV 1.85 (#1653)
2 parents 07a0208 + 0006804 commit 052b80f

40 files changed

+968
-662
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,25 @@ jobs:
5050
- name: rand_pcg
5151
run: cargo doc --all-features --package rand_pcg --no-deps
5252

53+
core-msrv:
54+
name: rand_core MSRV
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v4
58+
- name: MSRV
59+
run: |
60+
rm Cargo.toml
61+
cd rand_core
62+
cp Cargo.lock.msrv Cargo.lock
63+
- name: Install toolchain
64+
uses: dtolnay/[email protected]
65+
- name: Test rand_core
66+
working-directory: ./rand_core
67+
run: |
68+
cargo test
69+
cargo test --no-default-features
70+
cargo test --no-default-features --features=os_rng
71+
5372
test:
5473
runs-on: ${{ matrix.os }}
5574
strategy:
@@ -73,7 +92,7 @@ jobs:
7392
- os: ubuntu-latest
7493
target: x86_64-unknown-linux-gnu
7594
variant: MSRV
76-
toolchain: 1.63.0
95+
toolchain: 1.85.0
7796
- os: ubuntu-latest
7897
deps: sudo apt-get update ; sudo apt install gcc-multilib
7998
target: i686-unknown-linux-gnu

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ A [separate changelog is kept for rand_core](rand_core/CHANGELOG.md).
88

99
You may also find the [Upgrade Guide](https://rust-random.github.io/book/update.html) useful.
1010

11-
## [Unreleased]
12-
### Additions
13-
- Pub export `Xoshiro128PlusPlus`, `Xoshiro256PlusPlus` prngs (#1649)
14-
11+
## [0.10.0 — Unreleased]
1512
### Changes
13+
- Use Edition 2024 and MSRV 1.85 (#1653)
1614
- Let `Fill` be implemented for element types, not sliceable types (#1652)
1715

16+
### Additions
17+
- Pub export `Xoshiro128PlusPlus`, `Xoshiro256PlusPlus` prngs (#1649)
18+
1819
## [0.9.2 — 2025-07-20]
1920
### Deprecated
2021
- Deprecate `rand::rngs::mock` module and `StepRng` generator (#1634)

0 commit comments

Comments
 (0)