Skip to content

Commit 1aeee9f

Browse files
authored
Prepare v0.9.3: deprecate feature log (#1764)
1 parent 98473ee commit 1aeee9f

File tree

10 files changed

+90
-597
lines changed

10 files changed

+90
-597
lines changed

.github/workflows/gh-pages.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish to crates.io and create GitHub release
2+
on:
3+
push:
4+
tags: ['[0-9].[0-9].*', '[0-9].[1-9][0-9].*']
5+
6+
jobs:
7+
# Source: https://crates.io/docs/trusted-publishing
8+
publish:
9+
runs-on: ubuntu-latest
10+
environment: release
11+
permissions:
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v6
15+
- uses: rust-lang/crates-io-auth-action@v1
16+
id: auth
17+
- run: cargo publish
18+
env:
19+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
toolchain: nightly
4444
- name: rand
45-
run: cargo doc --all-features --no-deps
45+
run: cargo doc --features serde,unbiased,log --no-deps
4646
- name: rand_core
4747
run: cargo doc --all-features --package rand_core --no-deps
4848
- name: rand_chacha
@@ -102,7 +102,7 @@ jobs:
102102
if: ${{ matrix.toolchain == 'nightly' }}
103103
run: |
104104
cargo test --target ${{ matrix.target }} --features=nightly
105-
cargo test --target ${{ matrix.target }} --all-features
105+
cargo test --target ${{ matrix.target }} --features serde,unbiased,log
106106
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features
107107
- name: Test rand
108108
run: |

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@ 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-
## [0.9.2 — 2025-07-20]
11+
## [0.9.3] — 2026-02-11
12+
This release back-ports a fix from v0.10. See also [#1763].
13+
14+
### Changes
15+
- Deprecate feature `log` (#1764)
16+
- Replace usages of `doc_auto_cfg` (#1764)
17+
18+
[#1763]: https://github.com/rust-random/rand/pull/1763
19+
20+
## [0.9.2] — 2025-07-20
1221
### Deprecated
1322
- Deprecate `rand::rngs::mock` module and `StepRng` generator (#1634)
1423

@@ -820,3 +829,5 @@ when updating from `rand 0.7.0` without also updating `rand_core`.
820829
## [0.10-pre] - 2014-03-02
821830
### Added
822831
- Separate `rand` out of the standard library
832+
833+
[0.9.3]: https://github.com/rust-random/rand/compare/0.9.2...0.9.3

0 commit comments

Comments
 (0)