chore(deps): bump rand from 0.9.2 to 0.10.0#257
Conversation
WalkthroughThis PR upgrades the Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant App as rust_annie Application
participant Rand as rand (v0.10.0)
participant ChaCha as chacha20 RNG
participant RandCore as rand_core (v0.10.0)
participant GetRandom as getrandom (v0.4.1)
participant OS as Operating System
Note over App,OS: Random Number Generation Flow (Upgraded Dependencies)
App->>Rand: Request random value
activate Rand
Rand->>ChaCha: Initialize ChaCha20 RNG
activate ChaCha
ChaCha->>RandCore: Request entropy seed
activate RandCore
RandCore->>GetRandom: get_random_bytes()
activate GetRandom
GetRandom->>OS: System call for entropy
activate OS
OS-->>GetRandom: Raw entropy bytes
deactivate OS
GetRandom-->>RandCore: Entropy seed
deactivate GetRandom
RandCore-->>ChaCha: Seed data
deactivate RandCore
ChaCha->>ChaCha: Initialize ChaCha20 state
ChaCha-->>Rand: RNG ready
deactivate ChaCha
Rand->>ChaCha: Generate random bytes
activate ChaCha
ChaCha->>ChaCha: ChaCha20 stream cipher
ChaCha-->>Rand: Random bytes
deactivate ChaCha
Rand-->>App: Random value
deactivate Rand
Note over App,OS: WASM Support (New in v0.10)
opt WASM Environment
App->>Rand: Request random in WASM
Rand->>GetRandom: get_random_bytes()
GetRandom->>OS: WASI p3 interface
OS-->>GetRandom: WASM entropy
GetRandom-->>Rand: Random bytes
Rand-->>App: Random value
end
🔗 Cross-Repository Impact AnalysisEnable automatic detection of breaking changes across your dependent repositories. → Set up now Learn more about Cross-Repository AnalysisWhat It Does
How to Enable
Benefits
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
📚 Documentation UpdatesI've created a pull request with documentation updates based on your changes: The documentation updates are in branch: Please review the documentation changes to ensure they accurately reflect your code changes. |
Bumps [rand](https://github.com/rust-random/rand) from 0.9.2 to 0.10.0. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@rand_core-0.9.2...0.10.0) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
74c8639 to
ade01ba
Compare
Bumps rand from 0.9.2 to 0.10.0.
Changelog
Sourced from rand's changelog.
Commits
acc5f24Prepare v0.10.0 releases (#1729)95c5165Add fn rand::make_rng (#1734)146da58CHANGELOG: add PR links (#1738)8cacd6dREADME tweaks (#1737)28e3df8Update chacha20: use ChaChaCore directly; remove bytes_until_reseed field (#1...03db311Replace fn reseed_and_generate with try_to_reseedb14483eApply inline attr to fn generatefda8f74Remove bytes_until_reseed field213bb3bBump chacha20 to 0.10.0-rc.1172afe1eMinor tweaks; prepare v0.10.0-rc.9 (#1736)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)EntelligenceAI PR Summary
This PR upgrades the rand crate from 0.9.0 to 0.10.0, bringing enhanced cryptographic implementations and expanded WASM capabilities.