Upgrade rand to 0.8 and rand_core to 0.6#264
Conversation
This commit upgrades the `rand` dependency from 0.7 to the semver incompatible 0.8. This commit upgrades the `rand_core` dependency from 0.5 to the semver incompatible 0.6. This commit updates all calls to `Gen::gen_range` to use a `Range` literal instead of calling with two parameters as this API now accepts either or `Range` or a `RangeInclusive`: https://docs.rs/rand/0.8.0/rand/distributions/uniform/trait.SampleRange.html This was the only breaking change that impacted `quickcheck` and it was isolated to the `arbitrary` module.
|
Rust 1.36.0 brought the stabilization of the It looks like Is bumping |
|
@BurntSushi can this be merged soon? Would be happy to help push this over the finish line. |
|
Just hit this when upgrading my |
|
What problems are folks running into exactly? Worst case, you have multiple versions of rand in your dependency tree, no? Or is something preventing that? |
|
@BurntSushi I tend to have One of the crates I'd like to publish is As it is a |
|
Multiple versions of |
|
Thanks for the context @BurntSushi. For |
This upgrades to the latest version of rand. Closes #264
This upgrades to the latest version of rand. Closes #264
|
@BurntSushi While there are no technical restrictions, I won't be upgrading the dependency for the time crate until this is done. Not a huge issue so far, as there's still work to do before the breaking release is out. |
This upgrades to the latest version of rand. Closes #264
This commit upgrades the
randdependency from 0.7 to the semverincompatible 0.8. This commit upgrades the
rand_coredependency from0.5 to the semver incompatible 0.6.
This commit updates all calls to
Gen::gen_rangeto use aRangeliteral instead of calling with two parameters as this API now accepts
either or
Rangeor aRangeInclusive:https://docs.rs/rand/0.8.0/rand/distributions/uniform/trait.SampleRange.html
This was the only breaking change that impacted
quickcheckand it wasisolated to the
arbitrarymodule.