diff --git a/.helix/languages.toml b/.helix/languages.toml index a22169a..8fcd78c 100644 --- a/.helix/languages.toml +++ b/.helix/languages.toml @@ -1,8 +1,8 @@ [[language]] name = "rust" scope = "source.rust" -injection-regex = "rust_with_rstml" -grammar = "rust_with_rstml" +injection-regex = "rust" +grammar = "rust" file-types = ["rs"] roots = ["Cargo.toml", "Cargo.lock", "tailwind.config.js"] language-servers = ["rust-analyzer", "tailwindcss-language-server"] diff --git a/Cargo.toml b/Cargo.toml index 0daba7b..0d2826f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,15 +47,15 @@ wasm-bindgen-test = "0.3.0" [workspace.dependencies] console_error_panic_hook = "0.1.7" gloo = "0.11.0" -leptos = { version = "0.7.7", features = ["csr", "nightly"] } +leptos = { version = "0.7.8", features = ["csr", "nightly"] } phosphor-leptos = "0.7.0" -serde = { version = "1.0.218", features = ["derive"] } -serde_json = "1.0.139" +serde = { version = "1.0.219", features = ["derive"] } +serde_json = "1.0.140" tailwind-css = "0.13.0" tauri = { git = "https://github.com/tauri-apps/tauri/", branch = "refactor/android-dev", features = ["config-toml"] } -tauri-build = { version = "2.0.6", features = ["config-toml"] } +tauri-build = { version = "2.2.0", features = ["config-toml"] } thirtyfour = "0.34.0" -thiserror = "2.0.11" +thiserror = "2.0.12" tokio = { version = "1", features = ["full"] } wasm-bindgen = "0.2.100" web-sys = "0.3.77" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 221ec8d..cd20b5a 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -19,7 +19,7 @@ description.workspace = true workspace = true [dependencies] -either_of = "0.1.5" +either_of = "0.1.6" serde.workspace = true serde_json.workspace = true tauri.workspace = true diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 9c4606b..52aaf95 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -8,6 +8,11 @@ #![allow(clippy::module_name_repetitions)] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] +#[tauri::command] +fn hello(message: &str) -> Result<(), std::io::Error> { + Ok(()) +} + fn main() { template_lib::run(); }