Bump rand from 0.10.2 to 0.10.3 in /rust in the rust-deps group across 1 directory
Merged
DE
23d ago+2+2+0123456789-2-2-0123456789
Bumps the rust-deps group with 1 update in the /rust directory: rand.
Updates rand from 0.10.2 to 0.10.3
Changelog
Sourced from rand's changelog.
[0.10.3] — 2026-09-20
Fixes
- Fix
WeightedIndexpanic when the sum of float weights is infinite; returnError::Overflowinstead (#1808)- Fix spurious
Error::NonFinitefromUniform::new_inclusiveon large finite float ranges such as0.0..=f64::MAX(#1821)- Fix possible panic due to sampling a deserialized
Uniform<char>(#1831)Changes
- Report exact remaining lengths from
WeightedIndex::weights()and reduce overhead when reading weights (#1838)#1808: rust-random/rand#1808 #1821: rust-random/rand#1821 #1831: rust-random/rand#1831 #1838: rust-random/rand#1838
Commits
9e7d328Prepare rand 0.10.3 (#1840)f73ce74Optimize WeightedIndex weight lookup and iteration (#1838)ef9e044Avoid panic from deserializedUniform\<char>whererange == 0(#1831)c994eb1docs: fix angle unit in quick start example (#1839)33dea4fTest that WeightedIndex rejects INFINITY with Error::Overflow (#1822)94c9078Fix Uniform::new_inclusive overflow on large finite float ranges (#1821)bb1262fUse Xoshiro256PlusPlus in examples/rayon-monte-carlo.rs (#1805)521fab6Stop pinning dependencies (#1820)3f7c433Stop pinning dependenciescf4f73esample_efraimidis_spirakis: error on more than amount non-finite weights (#1814)- Additional commits viewable in compare view