mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-10 09:50:08 +02:00
16 lines
315 B
Rust
16 lines
315 B
Rust
use crate::commands::{apply, calculate};
|
|
use tauri::{
|
|
generate_handler,
|
|
plugin::{Builder, TauriPlugin},
|
|
Runtime,
|
|
};
|
|
|
|
mod commands;
|
|
mod error;
|
|
mod models;
|
|
mod sync;
|
|
|
|
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|
Builder::new("yaak-sync").invoke_handler(generate_handler![calculate, apply]).build()
|
|
}
|