mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
122a392bf8
* chore: update client api * chore: rename test target * chore: fix 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()
|
|
}
|