error[E0432]: unresolved import `rand`

Have you tried this way: Issue about generate random string Panicked at 'could not initialize thread_rng: getrandom: this target is not supported' - #8 by AdamS ?

3 Likes