Upgrading rand 0.3 to 0.4
Breaking0.3.23 → 0.4.6Breaking1Deprecated1New5Changed4Fixed2Other2
BreakingUpgrade verdict
1 breaking change.
In plain terms
- This release was withdrawn because it changed the public API in a way that breaks compatibility.
- The old way of drawing a single random sample is deprecated; use the new iterator-based function instead.
Must act 2 items need code or config changes
Adds fuchsia-cprng ^0.1.0, rand_core ^0.3, rdrand ^0.4.0, winapi ^0.3.
Drops rand.
Installs 8 packages in all (was 9).
What you must change
Breaking1
Version 0.4.4 is yanked due to a semver-breaking change.
Deprecations to plan for
Deprecated1
Deprecates the
sample function, replaced by sample_iter.samplesample_iter