-
Notifications
You must be signed in to change notification settings - Fork 243
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
Refactor rand from ff
to its own crate
#113
Comments
Yeah, I was thinking of moving them to ark-std. how does that sound? |
That sounds good to me |
Should rand be its own crate in |
just a single file in ark-std, probably a module named |
Opened a PR to do that on |
Let's re-export |
We can't deprecate a re-export unfortunately (rust-lang/rust#30827) I propose for now we do the following:
|
Hmm that's unfortunate, but your workaround is good enough, I suppose. |
its a bit odd that
test_rng
anduniform_rand
traits are coming fromark-ff
at the moment. This also introduces oddities like #112 now introducing a dev-dependency toark-serialize
onark-ff
.Refactoring this into its own crate I think will also give more flexibility for allowing feature flags on the
test_rng
that don't make sense to add when its onark-ff
. (E.g. makingtest_rng
's seed non-static if you're trying to run randomized tests on more data points)The text was updated successfully, but these errors were encountered: