gundb 0.1.1

Distributed graph database that syncs over websockets and multicast
Documentation
1
2
3
4
5
6
7
8
9
10
use rand::{thread_rng, Rng};
use rand::distributions::Alphanumeric;

pub fn random_string(len: usize) -> String {
    thread_rng()
        .sample_iter(&Alphanumeric)
        .take(len)
        .map(char::from)
        .collect()
}