Skip to content
Merged
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
47 changes: 0 additions & 47 deletions .github/workflows/gh-pages.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to crates.io and create GitHub release
on:
push:
tags: ['[0-9].[0-9].*', '[0-9].[1-9][0-9].*']

jobs:
# Source: https://crates.io/docs/trusted-publishing
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v6
- uses: rust-lang/crates-io-auth-action@v1
id: auth
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
toolchain: nightly
- name: rand
run: cargo doc --all-features --no-deps
run: cargo doc --features serde,unbiased,log --no-deps
- name: rand_core
run: cargo doc --all-features --package rand_core --no-deps
- name: rand_chacha
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
if: ${{ matrix.toolchain == 'nightly' }}
run: |
cargo test --target ${{ matrix.target }} --features=nightly
cargo test --target ${{ matrix.target }} --all-features
cargo test --target ${{ matrix.target }} --features serde,unbiased,log
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features
- name: Test rand
run: |
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ A [separate changelog is kept for rand_core](rand_core/CHANGELOG.md).

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

## [0.9.2 — 2025-07-20]
## [0.9.3] — 2026-02-11
This release back-ports a fix from v0.10. See also [#1763].

### Changes
- Deprecate feature `log` (#1764)
- Replace usages of `doc_auto_cfg` (#1764)

[#1763]: https://github.com/rust-random/rand/pull/1763

## [0.9.2] — 2025-07-20
### Deprecated
- Deprecate `rand::rngs::mock` module and `StepRng` generator (#1634)

Expand Down Expand Up @@ -820,3 +829,5 @@ when updating from `rand 0.7.0` without also updating `rand_core`.
## [0.10-pre] - 2014-03-02
### Added
- Separate `rand` out of the standard library

[0.9.3]: https://github.com/rust-random/rand/compare/0.9.2...0.9.3
Loading
Loading