Skip to content

chore(deps): migrate system RNG to rand 0.10 - #23

Merged
ECD5A merged 2 commits into
mainfrom
dependabot/cargo/tools/agent-memory-eval/rand-0.10
Aug 23, 2026
Merged

chore(deps): migrate system RNG to rand 0.10#23
ECD5A merged 2 commits into
mainfrom
dependabot/cargo/tools/agent-memory-eval/rand-0.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • migrate cryptographic salt and nonce generation from OsRng/RngCore to the rand 0.10 SysRng/TryRng API
  • propagate operating-system entropy failures through MgeError::Crypto instead of relying on an infallible call
  • enable only rand's sys_rng feature and refresh the lockfile

The serialized security metadata and encrypted-payload formats are unchanged.

Scope

  • CLI
  • Storage
  • Retrieval
  • Security
  • Packaging
  • Documentation

Safety checklist

  • No silent fallback or fail-open behavior was introduced.
  • Security-relevant errors are explicit and actionable.
  • Existing persisted data remains compatible.
  • No secrets, credentials, or private data are included.

Verification

  • cargo fmt --check
  • cargo check -p mge-cli --bins
  • cargo check --workspace --all-targets
  • cargo +1.95.0 check --locked --workspace --all-targets
  • cargo test --locked --workspace --all-targets (219 tests)
  • cargo clippy --locked --workspace --all-targets -- -D warnings
  • cargo test --manifest-path tools/agent-memory-eval/Cargo.toml (24 tests)
  • cargo +1.98.0 clippy --manifest-path tools/agent-memory-eval/Cargo.toml --all-targets -- -D warnings

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 6, 2026
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.0...0.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@ECD5A
ECD5A force-pushed the dependabot/cargo/tools/agent-memory-eval/rand-0.10 branch from e9c3631 to 01f95bf Compare August 23, 2026 03:40
Signed-off-by: ECD5A <stelmaknoder@gmail.com>
@ECD5A ECD5A changed the title chore(deps): update rand requirement from 0.8 to 0.10 in /tools/agent-memory-eval chore(deps): migrate system RNG to rand 0.10 Aug 23, 2026
@ECD5A
ECD5A merged commit 53d558e into main Aug 23, 2026
4 checks passed
@ECD5A
ECD5A deleted the dependabot/cargo/tools/agent-memory-eval/rand-0.10 branch August 23, 2026 03:49
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.

1 participant