Dependency injection of a SeedableRng in a Rust project with `rand::rngs::ThreadRng`
I’m starting with a regular &mut ThreadRng
in all my functions, but it limits dependency injection capacities. There are SeedableRng
ofc, but how to use it in places where initially it was a ThreadRng
?