mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-26 03:11:12 +01:00
Reload plugins on change
This commit is contained in:
5
src-tauri/yaak_plugin_runtime/src/util.rs
Normal file
5
src-tauri/yaak_plugin_runtime/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