mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
d758e62c1a
* chore: bump collab * chore: bump collab * chore: bump collab * chore: fix test * chore: disable supabse test
17 lines
326 B
Rust
17 lines
326 B
Rust
mod local_test;
|
|
|
|
mod af_cloud_test;
|
|
// #[cfg(feature = "supabase_cloud_test")]
|
|
// mod supabase_test;
|
|
|
|
use rand::{distributions::Alphanumeric, Rng};
|
|
|
|
pub fn generate_random_string(len: usize) -> String {
|
|
let rng = rand::thread_rng();
|
|
rng
|
|
.sample_iter(&Alphanumeric)
|
|
.take(len)
|
|
.map(char::from)
|
|
.collect()
|
|
}
|