mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-04 22:18:22 +00:00
* fix: import old version appflowy data * chore: add 037 test * chore: add default appflowy cloud url * chore: bump collab
16 lines
320 B
Rust
16 lines
320 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()
|
|
}
|