Because we invoke thread_rng directly we have to also depend on getrandom in order to set certain feature flags to get things to compile on wasm.
Can we just depend on rand_core and let users pass in anything implement RngCore? This would simplify dependencies a bit. The place where this will be most tricky is in tx building but I hope it can be done.
We should try and attempt this before v1.
Because we invoke
thread_rngdirectly we have to also depend ongetrandomin order to set certain feature flags to get things to compile on wasm.Can we just depend on
rand_coreand let users pass in anything implementRngCore? This would simplify dependencies a bit. The place where this will be most tricky is in tx building but I hope it can be done.We should try and attempt this before
v1.