interplane.Get Omega
Read in your language

open-humanity

Privacy-first peer assistance network for sovereign autonomous agents

Brought by drakestapleton

chore(deps): bump rand from 0.8.8 to 0.10.3

merged 5ca0e176a9a85dd0 #60 · opened 2026-11-05 22:34 UTC · closed 2026-11-06 13:04 UTC · merged 2026-11-06 13:04 UTC

Imported from GitHub aien-dev/open-humanity#60, by dependabot[bot]

Labels: dependencies, rust

Base a6b9db7c3b683ee5119349ddd43bda5e86de0dd6 · Head f88ed8c2d86c1b4028d5d7d64e81fd36092df003

Merged on GitHub as 6b4ef7a2e0e14f31742c1474b8070df25fe4fd50; not reachable from main 54778b62acf7f1dcbc2ca982117ff7868a7e6221 (observed 2026-11-18T16:40:05Z)

dependabot[bot] wrote on 2026-11-05 22:34 UTC

Bumps rand from 0.8.8 to 0.10.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand's changelog</a>.</em></p> <blockquote> <h2>[0.10.3] — 2026-09-20</h2> <h3>Fixes</h3> <ul> <li>Fix <code>WeightedIndex</code> panic when the sum of float weights is infinite; return <code>Error::Overflow</code> instead (<a href="https://redirect.github.com/rust-random/rand/issues/1808">#1808</a>)</li> <li>Fix spurious <code>Error::NonFinite</code> from <code>Uniform::new_inclusive</code> on large finite float ranges such as <code>0.0..=f64::MAX</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1821">#1821</a>)</li> <li>Fix possible panic due to sampling a deserialized <code>Uniform<char></code> (<a href="https://redirect.github.com/rust-random/rand/issues/1831">#1831</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Report exact remaining lengths from <code>WeightedIndex::weights()</code> and reduce overhead when reading weights (<a href="https://redirect.github.com/rust-random/rand/issues/1838">#1838</a>)</li> </ul> <p><a href="https://redirect.github.com/rust-random/rand/issues/1808">#1808</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1808">rust-random/rand#1808</a> <a href="https://redirect.github.com/rust-random/rand/issues/1821">#1821</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1821">rust-random/rand#1821</a> <a href="https://redirect.github.com/rust-random/rand/issues/1831">#1831</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1831">rust-random/rand#1831</a> <a href="https://redirect.github.com/rust-random/rand/issues/1838">#1838</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1838">rust-random/rand#1838</a></p> <h2>[0.10.2] — 2026-07-02</h2> <h3>Fixes</h3> <ul> <li>Fix possible memory safety violation due to deserialization of <code>UniformChar</code> from bad source (<a href="https://redirect.github.com/rust-random/rand/issues/1790">#1790</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Document required output order of fn <code>partial_shuffle</code> and apply <code>#[must_use]</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1769">#1769</a>)</li> <li>Avoid usage of <code>unsafe</code> in contexts where non-local memory corruption could invalidate contract (<a href="https://redirect.github.com/rust-random/rand/issues/1791">#1791</a>)</li> </ul> <p><a href="https://redirect.github.com/rust-random/rand/issues/1769">#1769</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1769">rust-random/rand#1769</a> <a href="https://redirect.github.com/rust-random/rand/issues/1790">#1790</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1790">rust-random/rand#1790</a> <a href="https://redirect.github.com/rust-random/rand/issues/1791">#1791</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1791">rust-random/rand#1791</a></p> <h2>[0.10.1] — 2026-02-11</h2> <p>This release includes a fix for a soundness bug; see <a href="https://redirect.github.com/rust-random/rand/issues/1763">#1763</a>.</p> <h3>Changes</h3> <ul> <li>Document panic behavior of <code>make_rng</code> and add <code>#[track_caller]</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1761">#1761</a>)</li> <li>Deprecate feature <code>log</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1763">#1763</a>)</li> </ul> <p><a href="https://redirect.github.com/rust-random/rand/issues/1761">#1761</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1761">rust-random/rand#1761</a> <a href="https://redirect.github.com/rust-random/rand/issues/1763">#1763</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1763">rust-random/rand#1763</a></p> <h2>[0.10.0] - 2026-02-08</h2> <h3>Changes</h3> <ul> <li>The dependency on <code>rand_chacha</code> has been replaced with a dependency on <code>chacha20</code>. This changes the implementation behind <code>StdRng</code>, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in <code>chacha20</code> instead of <code>rand_chacha</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1642">#1642</a>).</li> <li>Rename fns <code>IndexedRandom::choose_multiple</code> -> <code>sample</code>, <code>choose_multiple_array</code> -> <code>sample_array</code>, <code>choose_multiple_weighted</code> -> <code>sample_weighted</code>, struct <code>SliceChooseIter</code> -> <code>IndexedSamples</code> and fns <code>IteratorRandom::choose_multiple</code> -> <code>sample</code>, <code>choose_multiple_fill</code> -> <code>sample_fill</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1632">#1632</a>)</li> <li>Use Edition 2024 and MSRV 1.85 (<a href="https://redirect.github.com/rust-random/rand/issues/1653">#1653</a>)</li> <li>Let <code>Fill</code> be implemented for element types, not sliceable types (<a href="https://redirect.github.com/rust-random/rand/issues/1652">#1652</a>)</li> <li>Fix <code>OsError::raw_os_error</code> on UEFI targets by returning <code>Option<usize></code> (<a href="https://redirect.github.com/rust-random/rand/issues/1665">#1665</a>)</li> <li>Replace fn <code>TryRngCore::read_adapter(..) -> RngReadAdapter</code> with simpler struct <code>RngReader</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1669">#1669</a>)</li> <li>Remove fns <code>SeedableRng::from_os_rng</code>, <code>try_from_os_rng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1674">#1674</a>)</li> <li>Remove <code>Clone</code> support for <code>StdRng</code>, <code>ReseedingRng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1677">#1677</a>)</li> <li>Use <code>postcard</code> instead of <code>bincode</code> to test the serde feature (<a href="https://redirect.github.com/rust-random/rand/issues/1693">#1693</a>)</li> </ul>

</blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/rand/commit/9e7d328f60d6372ae22927f37d1a816fc980f25e"><code>9e7d328</code></a> Prepare rand 0.10.3 (<a href="https://redirect.github.com/rust-random/rand/issues/1840">#1840</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/f73ce74d4ac8f47259e871e22939c6c52e17befe"><code>f73ce74</code></a> Optimize WeightedIndex weight lookup and iteration (<a href="https://redirect.github.com/rust-random/rand/issues/1838">#1838</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/ef9e044b6b1f5fe541516d4b622c9c2d9932d789"><code>ef9e044</code></a> Avoid panic from deserialized <code>Uniform&lt;char></code> where <code>range == 0</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1831">#1831</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/c994eb1e40ab8cc9a929cfe11b345f7296bca393"><code>c994eb1</code></a> docs: fix angle unit in quick start example (<a href="https://redirect.github.com/rust-random/rand/issues/1839">#1839</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/33dea4fcd044c3425fd8f35ffc9d203c652c3d73"><code>33dea4f</code></a> Test that WeightedIndex rejects INFINITY with Error::Overflow (<a href="https://redirect.github.com/rust-random/rand/issues/1822">#1822</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/94c9078267aa9ea4e9ad61bd552b35245c995830"><code>94c9078</code></a> Fix Uniform::new_inclusive overflow on large finite float ranges (<a href="https://redirect.github.com/rust-random/rand/issues/1821">#1821</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/bb1262f703ca04e4ce56be78e1dc4e204cd6a998"><code>bb1262f</code></a> Use Xoshiro256PlusPlus in examples/rayon-monte-carlo.rs (<a href="https://redirect.github.com/rust-random/rand/issues/1805">#1805</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/521fab6a1bcf349760d2581c2143fbc1aafe8798"><code>521fab6</code></a> Stop pinning dependencies (<a href="https://redirect.github.com/rust-random/rand/issues/1820">#1820</a>)</li> <li><a href="https://github.com/rust-random/rand/commit/3f7c4335fd6ba118aaed1ab59b1964808a955d4d"><code>3f7c433</code></a> Stop pinning dependencies</li> <li><a href="https://github.com/rust-random/rand/commit/cf4f73e3953ffcf97f575317a07f0fd5983bfe9e"><code>cf4f73e</code></a> sample_efraimidis_spirakis: error on more than amount non-finite weights (<a href="https://redirect.github.com/rust-random/rand/issues/1814">#1814</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-random/rand/compare/0.8.8...0.10.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

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.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Apply it

git checkout -b patch-5ca0e176a9a85dd0 a6b9db7c3b683ee5119349ddd43bda5e86de0dd6
curl -fsSL https://interplane.io/drakestapleton/open-humanity/patches/5ca0e176a9a85dd0.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/open-humanity
60
f88ed8c2d86c1b4028d5d7d64e81fd36092df003
{"kind":"github-import","owner":"aien-dev","repo":"open-humanity","number":60,"url":"https://github.com/aien-dev/open-humanity/pull/60","export_sha256":"aabb5a7e9670b93ec11e9c204084262af46f60eb30362168d022991b8f95d323","imported_utc":"2026-11-18T16:40:05Z"}

Changes

diff --git a/Cargo.lock b/Cargo.lock
index 3ff745e..5720d73 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -189,7 +189,7 @@ name = "beacon-client"
 version = "0.1.0"
 dependencies = [
  "beacon-core",
- "rand 0.8.8",
+ "rand",
  "reqwest",
  "rusqlite",
  "serde",
@@ -212,7 +212,7 @@ dependencies = [
  "chacha20poly1305",
  "crumb-spec",
  "ed25519-dalek",
- "rand 0.8.8",
+ "rand",
  "regex",
  "serde",
  "spark-crumbs",
@@ -1263,7 +1263,7 @@ dependencies = [
  "oh-core",
  "oh-volunteer",
  "p256",
- "rand 0.8.8",
+ "rand",
  "sha2 0.10.9",
 ]
 
@@ -1289,7 +1289,7 @@ dependencies = [
  "blake3",
  "cc",
  "oh-core",
- "rand 0.8.8",
+ "rand",
  "rustls",
  "serde",
  "serde_json",
@@ -1305,7 +1305,7 @@ dependencies = [
  "beacon-core",
  "bincode",
  "blake3",
- "rand 0.8.8",
+ "rand",
  "serde",
  "thiserror 1.0.69",
  "x25519-dalek",
@@ -1444,15 +1444,6 @@ dependencies = [
  "zerovec",
 ]
 
-[[package]]
-name = "ppv-lite86"
-version = "0.2.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
-dependencies = [
- "zerocopy",
-]
-
 [[package]]
 name = "primefield"
 version = "0.14.0"
@@ -1518,7 +1509,7 @@ dependencies = [
  "bytes",
  "getrandom 0.4.3",
  "lru-slab",
- "rand 0.10.3",
+ "rand",
  "rand_pcg",
  "ring",
  "rustc-hash",
@@ -1560,17 +1551,6 @@ version = "6.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
 
-[[package]]
-name = "rand"
-version = "0.8.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c"
-dependencies = [
- "libc",
- "rand_chacha",
- "rand_core 0.6.4",
-]
-
 [[package]]
 name = "rand"
 version = "0.10.3"
@@ -1582,16 +1562,6 @@ dependencies = [
  "rand_core 0.10.1",
 ]
 
-[[package]]
-name = "rand_chacha"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
-dependencies = [
- "ppv-lite86",
- "rand_core 0.6.4",
-]
-
 [[package]]
 name = "rand_core"
 version = "0.6.4"