mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-19 07:54:23 +01:00
16 lines
301 B
Rust
16 lines
301 B
Rust
use tauri::{
|
|
generate_handler,
|
|
plugin::{Builder, TauriPlugin},
|
|
Runtime,
|
|
};
|
|
|
|
mod commands;
|
|
mod error;
|
|
|
|
use crate::commands::list;
|
|
pub use error::{Error, Result};
|
|
|
|
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|
Builder::new("yaak-fonts").invoke_handler(generate_handler![list]).build()
|
|
}
|