-
Notifications
You must be signed in to change notification settings - Fork 186
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
Tracking issue for 0.2.0 #98
Comments
Unfortunately we probably still can't use compilation error by default for I like the idea of replacing support for
I am still not sure why would we want to use |
Hmm, that would be true. We could consider dividing the issues into "things that would require
I mean we could always cop out and say those platforms weren't officially supported by
A fair point, I guess what I meant here is that if we want to do something like this, we should rename the feature. I'll try to see if the code would be any better using |
We could use a feature-flag to re-enable (perhaps
IMO this is not an urgent issue (at least, I've seen very little demand for it). There is already a safe alternative: a Cargo patch to replace the crate.
There are multiple aspects to this:
|
I've created a 0.2 branch to track breaking changes to |
Maybe we also should remove the |
Both cargo and the wasm target are still way too broken to remove the dummy implementation for rand / getrandom's wasm32-unknown-unknown support. |
@CryZe what do you mean? Our plan (see #109) is to give users of Having the dummy impl makes debugging issues very hard, as the dummy impl fails at runtime as opposed to compile time. |
Ah, I think that would work then. |
@newpavlov I think dropping the |
@josephlr |
@newpavlov @dhardy I updated the list. I think we can release |
I think we should consider bumping MSRV to 1.36, see rust-random/rand#987. |
|
Increasing from 1.33 to 1.34 is entirely reasonable, since that's current Debian Stable. |
In the process of addressing #94, we realized that some of the changes we want to do would require breaking backwards compatibility. If we are going to release a version 0.2, we should consider other changes to
getrandom
.A potential list is below. @dhardy and @newpavlov feel free to edit this to include your own ideas.
std
traits if thestd
feature is enabled (see trait impl disappeared without bumping major version #94 and Add back in std-only trait definitions #96)Rename features to allow for grouping of dependencieswasm-bindgen -> bindgen
, would make it much easier to usejs_sys
orweb_sys
.wasm32-unknown-unknown
(with no explicit features). Options are:bindgen
wasm32
error codeshermit
,l4re
, anduefi
and just use this feature instead, as these platforms (especially UEFI) have multiple ways to get randomness.TryInto
, which could be useful.If you have suggestions, please comment!
The text was updated successfully, but these errors were encountered: