atomic_web_push 0.3.0

A library that eliminates potential risks (occasional crashes due to OpenSSL library's setenv conflicts in Linux environments) from the web push library
Documentation
1
2
3
4
5
pub fn rand_bytes(buf: &mut [u8]) -> Result<(), ece::Error> {
    use rand::{rngs::OsRng, RngCore};
    OsRng.fill_bytes(buf);
    Ok(())
}