Update dependencies and fix rand API compatibility#100
Merged
Conversation
Major version bumps: - rand: 0.9 → 0.10 (RngCore → RngExt, fill_bytes → fill, next_u64 → random) - reqwest: 0.12 → 0.13 - getrandom: 0.3 → 0.4 - console-subscriber: 0.4 → 0.5 - ctor: 0.4 → 0.6 - cargo_metadata: 0.19 → 0.23 - toml: 0.8 → 1.0 Also updates all compatible (semver) dependencies to latest versions. https://claude.ai/code/session_0159aHgDzxjH1bzg6W27Ket6
596f7c4 to
28204dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR updates dependencies across the workspace to their latest versions and fixes compatibility issues with the updated
randcrate API.Key Changes
Dependency Updates: Updated 40+ dependencies to their latest versions, including:
tokio1.39.1 → 1.50.0serde1.0.204 → 1.0.228sqlx0.8.0/0.8.5 → 0.8.6chrono0.4.38 → 0.4.44clap4.0/4.5.11 → 4.6.0Rand API Compatibility: Fixed breaking changes in the
randcrate (0.9.0 → 0.10.0):RngCoretrait withRngExttraitfill_bytes()calls to usefill()methodnext_u64()withrandom::<u64>()for generating random valuesdst.rsandentropy.rsto use the newRngExttraitImplementation Details
The rand API changes required updates in three locations:
crates/durable-runtime/src/plugin/wasi/random.rs- WASI random number generationcrates/durable-runtime/src/dst.rs- Distributed state trackingcrates/durable-runtime/src/entropy.rs- System entropy providerAll changes maintain the same functionality while adapting to the new rand API surface.
https://claude.ai/code/session_0159aHgDzxjH1bzg6W27Ket6