| Crates.io | tauri-plugin-dev-invoke |
| lib.rs | tauri-plugin-dev-invoke |
| version | 0.2.0 |
| created_at | 2025-12-21 12:09:21.018549+00 |
| updated_at | 2025-12-27 11:23:56.762326+00 |
| description | Enables external browsers to invoke Tauri commands via HTTP for dev/testing |
| homepage | https://github.com/almontasser/tauri-plugin-dev-invoke |
| repository | https://github.com/almontasser/tauri-plugin-dev-invoke |
| max_upload_size | |
| id | 1997875 |
| size | 109,228 |
Invoke Tauri commands from external browsers - identical behavior to WebView.
Routes HTTP requests through Tauri's real invoke system, so all extractors work.
[dependencies]
tauri-plugin-dev-invoke = "0.2"
#[tauri::command]
fn greet(name: String) -> String {
format!("Hello, {}!", name)
}
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_dev_invoke::init())
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error");
}
127.0.0.1:3030 (localhost only)MIT or Apache-2.0