Skip to content

chore(deps): bump rand from 0.8.5 to 0.9.3 in /examples/data#2

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/examples/data/rand-0.9.3
Open

chore(deps): bump rand from 0.8.5 to 0.9.3 in /examples/data#2
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/examples/data/rand-0.9.3

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Bumps rand from 0.8.5 to 0.9.3.

Changelog

Sourced from rand's changelog.

[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: rust-random/rand#1763

[0.9.2] — 2025-07-20

Deprecated

  • Deprecate rand::rngs::mock module and StepRng generator (#1634)

Additions

  • Enable WeightedIndex<usize> (de)serialization (#1646)

[0.9.1] - 2025-04-17

Security and unsafe

  • Revise "not a crypto library" policy again (#1565)
  • Remove zerocopy dependency from rand (#1579)

Fixes

  • Fix feature simd_support for recent nightly rust (#1586)

Changes

  • Allow fn rand::seq::index::sample_weighted and fn IndexedRandom::choose_multiple_weighted to return fewer than amount results (#1623), reverting an undocumented change (#1382) to the previous release.

Additions

  • Add rand::distr::Alphabetic distribution. (#1587)
  • Re-export rand_core (#1604)

[0.9.0] - 2025-01-27

Security and unsafe

  • Policy: "rand is not a crypto library" (#1514)
  • Remove fork-protection from ReseedingRng and ThreadRng. Instead, it is recommended to call ThreadRng::reseed on fork. (#1379)
  • Use zerocopy to replace some unsafe code (#1349, #1393, #1446, #1502)

Dependencies

  • Bump the MSRV to 1.63.0 (#1207, #1246, #1269, #1341, #1416, #1536); note that 1.60.0 may work for dependents when using --ignore-rust-version
  • Update to rand_core v0.9.0 (#1558)

Features

  • Support std feature without getrandom or rand_chacha (#1354)
  • Enable feature small_rng by default (#1455)
  • Remove implicit feature rand_chacha; use std_rng instead. (#1473)
  • Rename feature serde1 to serde (#1477)
  • Rename feature getrandom to os_rng (#1537)
  • Add feature thread_rng (#1547)

API changes: rand_core traits

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.9.3.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.3)

---
updated-dependencies:
- dependency-name: rand
  dependency-version: 0.9.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 14, 2026
@blocksorg
Copy link
Copy Markdown

blocksorg Bot commented Apr 14, 2026

Mention Blocks like a regular teammate with your question or request:

@blocks review this pull request
@blocks make the following changes ...
@blocks create an issue from what was mentioned in the following comment ...
@blocks explain the following code ...
@blocks are there any security or performance concerns?

Run @blocks /help for more information.

Workspace settings | Disable this message

@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot Bot commented May 13, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

After thorough analysis of the rand 0.8.5 → 0.9.3 upgrade in the examples/data directory:

Compatibility Verification:

Check Status
Workspace MSRV (1.77) vs rand 0.9 MSRV (1.63) ✅ Compatible
Code API compatibility ✅ All used APIs stable
Deprecated features used ❌ None (no StepRng, mock module, or log feature)

Code patterns verified compatible:

  • rand::Rng trait - stable API
  • rand::thread_rng() - stable API
  • rand::{Rng, SeedableRng} - stable API
  • rand::rngs::StdRng - stable API
  • rng.gen() and rng.gen_range() - stable methods
  • StdRng::seed_from_u64() - stable API
  • StdRng::from_entropy() - stable API

Changelog notes (no impact on this codebase):

  • log feature deprecated in 0.9.3 - not used
  • rand::rngs::mock and StepRng deprecated - not used
  • Fork-protection removed from ThreadRng - not affected (no fork usage)
  • serde1 renamed to serde feature - not used

Note: The examples/data directory is excluded from the main workspace per root Cargo.toml, so it maintains its own dependency versions independently.

Files Reviewed (5 files)
  • examples/data/Cargo.lock - Lockfile with rand version updates
  • examples/data/climate/Cargo.toml - Changed rand = "0.8" to "0.9"
  • examples/data/edgar/Cargo.toml - Changed rand = "0.8" to "0.9"
  • examples/data/framework/Cargo.toml - Changed rand = "0.8" to "0.9"
  • examples/data/openalex/Cargo.toml - Changed rand = "0.8" to "0.9"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants