mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-25 10:51:26 +01:00
Filesystem Sync (#142)
This commit is contained in:
5
src-tauri/yaak-plugins/src/util.rs
Normal file
5
src-tauri/yaak-plugins/src/util.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use rand::distributions::{Alphanumeric, DistString};
|
||||
|
||||
pub fn gen_id() -> String {
|
||||
Alphanumeric.sample_string(&mut rand::thread_rng(), 5)
|
||||
}
|
||||
Reference in New Issue
Block a user