GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Revise RNG docs; enable small_rng by default by dhardy · Pull Request #1455 · rust-random/rand

Conversation

@dhardy

@dhardy dhardy commented May 23, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Added a CHANGELOG.md entry

Summary

Continues from #1454, revising doc for the rand crate's RNGs

Closes #1419

Note: rand::rngs module doc deliberately does not mention SeedableRng since each RNG discusses its own construction. Ideally all crates should do this too.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dhardy added 6 commits May 23, 2024 09:31
@dhardy
Enable feature small_rng by default
6c509d7
@dhardy
Revise documentation for StdRng
2dc0aaf
@dhardy
Revise documentation for SmallRng
511ae1c
@dhardy
Re-implement SeedableRng for SmallRng
5ed78f8
@dhardy
Revise rand::rngs module documentation
265dd6a
@dhardy
Back-compat with our MSRV
0546c4c
@dhardy
dhardy requested a review from newpavlov May 23, 2024 11:24
dhardy added 2 commits May 23, 2024 12:24
@dhardy
Fix changelog PR number
8ce3364
@dhardy
Test fixes
a9db57b
newpavlov
newpavlov approved these changes May 23, 2024
View reviewed changes
Comment thread src/rngs/mod.rs Resolved

Uh oh!

There was an error while loading. Please reload this page.

@dhardy
Fix grammar
8a96788
@dhardy
dhardy merged commit ba7f515 into rust-random:master May 23, 2024
@dhardy
dhardy deleted the work1 branch July 8, 2024 09:56
@dhardy dhardy mentioned this pull request Jul 26, 2024
removing from_entropy from SmallRng breaks what i think is a common usage #1443
Closed
@dhardy

dhardy commented Nov 23, 2024

Copy link
Copy Markdown
Member Author

This PR reinstates the SeedableRng impl for SmallRng (partial revert of #1368).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

benjamin-lieser pushed a commit to benjamin-lieser/rand that referenced this pull request Feb 5, 2025
@dhardy
Revise RNG docs; enable small_rng by default (rust-random#1455)
c46609f
@ghost-of-high-heart ghost-of-high-heart Bot mentioned this pull request Apr 5, 2026
Update rand to 0.10.0 wereHamster/sarne#49
Closed
This was referenced Jul 27, 2026
[PR] Update Rust crate rand to 0.10.0 vxfemboy/g1r#2
Closed
Update Rust crate rand to 0.10.0 vxfemboy/g1r#9
Open
Update Rust crate rand to 0.10 vxfemboy/wipedicks#9
Open
This was referenced Oct 22, 2026
[Historical PR] chore(deps): Update rand requirement from 0.8 to 0.9 in /relay_server rennerdo30/toss-share#5
Closed
[Historical PR] chore(deps): Update rand requirement from 0.8 to 0.9 in /rust_core rennerdo30/toss-share#6
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@newpavlov newpavlov newpavlov approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Remove small_rng feature?

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@dhardy @newpavlov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.