This has the side effect of allowing the rust_sodium-sys tests to all be properly initialised, since calling sodium_init() inside each now doesn't conflict with the test for init_with_rng().
The rust_sodium crate is no longer maintained by MaidSafe, you should check whether it is actively maintained on Subspace as per the readme, or switch to a modern alternative.
This PR adds a single commit to #60.
Primarily it hides the slightly dangerous
randombytes_implementation
API behind a new featureseeded-rng
which is disabled by default.This has the side effect of allowing the rust_sodium-sys tests to all be properly initialised, since calling
sodium_init()
inside each now doesn't conflict with the test forinit_with_rng()
.