The cap-rand crate provides a capability-oriented interface to random number generators via the [rand] crate.
cap-rand
rand