Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ serde_yaml = "0.9"
sha2 = "0.10"
similar = "3"
rayon = "1.10"
rand = "0.9"
rand = "0.10"
thiserror = "2"
zeroize = "1"
tempfile = "3"
Expand Down
2 changes: 1 addition & 1 deletion packages/ambient-agent-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
async-trait = "0.1"

# Utilities
rand = "0.8"
rand = "0.10"

Check failure on line 46 in packages/ambient-agent-rs/Cargo.toml

View workflow job for this annotation

GitHub Actions / unresolved-review-threads / unresolved-review-threads

unresolved P1 review thread

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Migrate ambient token generation to rand 0.10

With rand = "0.10", src/ipc.rs still imports rand::RngCore and calls rand::thread_rng() to generate auth tokens. Rand 0.10's public API now exposes rng() and renamed the core trait to Rng/RngExt per its migration notes, so this crate fails to compile as soon as Cargo resolves the new manifest; please migrate the token generation call site along with the version bump. https://rust-random.github.io/book/update-0.10.html

Useful? React with 👍 / 👎.

uuid.workspace = true
chrono = { workspace = true, features = ["serde"] }
sha2.workspace = true
Expand Down
Loading