mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-02-25 03:54:59 +01:00
19 lines
394 B
Rust
19 lines
394 B
Rust
use crate::commands::{apply, calculate, calculate_fs, watch};
|
|
use tauri::{
|
|
generate_handler,
|
|
plugin::{Builder, TauriPlugin},
|
|
Runtime,
|
|
};
|
|
|
|
mod commands;
|
|
pub mod error;
|
|
pub mod models;
|
|
mod sync;
|
|
mod watch;
|
|
|
|
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|
Builder::new("yaak-sync")
|
|
.invoke_handler(generate_handler![calculate, calculate_fs, apply, watch])
|
|
.build()
|
|
}
|