mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-30 17:38:40 +00:00 
			
		
		
		
	 76416cfdba
			
		
	
	
		76416cfdba
		
			
		
	
	
	
	
		
			
			* fix: import old version appflowy data * chore: add 037 test * chore: add default appflowy cloud url * chore: bump collab
		
			
				
	
	
		
			17 lines
		
	
	
		
			320 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 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()
 | |
| }
 |