Skip to content

chore: bump rand 0.10 and rand_distr 0.6 with API migration - #26

Merged
Ayyankhan101 merged 1 commit into
masterfrom
chore/rand-0.10-and-rand_distr
Sep 13, 2026
Merged

Ayyankhan101 merged 1 commit into
masterfrom
chore/rand-0.10-and-rand_distr

Conversation

@Ayyankhan101

Copy link
Copy Markdown
Owner

Summary

  • Bump direct deps: rand 0.9 → 0.10.2, rand_distr 0.5 → 0.6.0
  • Migrate for rand 0.10: Rng → RngExt, StdRng::from_os_rng() → rand::make_rng::<StdRng>()
  • candle-core keeps its own rand 0.9 / rand_distr 0.5 (dual versions in the lockfile)

Supersedes Dependabot #18 and #24.

Test plan

  • cargo test --features server
  • cargo clippy --all-targets --all-features -- -D warnings

candle-core still depends on rand 0.9 / rand_distr 0.5, so both major
lines coexist in the lockfile. Call sites move to RngExt and
rand::make_rng::<StdRng>() in place of from_os_rng.

Supersedes Dependabot #18 and #24.
@git-mind-pr-guardian

Copy link
Copy Markdown

GitMind PR Review

{'pr_url': '#26', 'repo': 'Ayyankhan101/Transformer-In-Rust', 'pr_num': '26', 'title': 'chore: bump rand 0.10 and rand_distr 0.6 with API migration', 'author': 'Ayyankhan101', 'additions': 101, 'deletions': 29, 'changed_files': 8, 'review': '## Summary\nAutomatic review could not be generated — please review the diff manually.\n\n## Issues\nNo significant issues found.\n\n## Verdict\n💬 NEEDS DISCUSSION\nThe automated review failed; human review required.'}


Auto-generated by GitMind — AI-powered code analysis.

@Ayyankhan101
Ayyankhan101 merged commit 940513e into master Sep 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant