tauri-plugin-deno 0.2.0

A tauri 2 plugin to use javascript code (deno) in the backend.
1
2
3
4
5
6
use deno_core::op2;

#[op2(fast)]
pub fn op_hello(#[string] text: &str) {
    println!("Hello {} from an op!", text);
}