-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
rand
dependency from 0.7 to the semverincompatible 0.8. This commit upgrades the
rand_core
dependency from0.5 to the semver incompatible 0.6.
This commit updates all calls to
Gen::gen_range
to use aRange
literal instead of calling with two parameters as this API now accepts
either or
Range
or aRangeInclusive
:https://docs.rs/rand/0.8.0/rand/distributions/uniform/trait.SampleRange.html
This was the only breaking change that impacted
quickcheck
and it wasisolated to the
arbitrary
module.