Relative Content

Tag Archive for rusttauri

How to fix structure to handle api responses

I am using the pokeapi for the first projects in tauri, but the evolution chain endpoint response is too much for me to handle, I have no idea how to build a structure to handle the response from

How to fix structure to handle api responses

I am using the pokeapi for the first projects in tauri, but the evolution chain endpoint response is too much for me to handle, I have no idea how to build a structure to handle the response from

tauri and sql how to use sql with tauri

I’ve been trying to integrate a SQLite database into my Tauri application using the Tauri SQL plugin. I followed the steps outlined in the official Tauri documentation, including installing the @tauri-apps/plugin-sql package, configuring the plugin in tauri.conf.json, and importing the necessary modules in my JavaScript/TypeScript code.

Tauri FileDialogBuilder.add_filter to match all files

I’m using a FileDialogBuilder in a Tauri app to let a user select a file for processing. Although the input files will often have one of a particular set of extensions, I’d like the dialog to also allow selecting a file without regard for its extension.

Tauri FileDialogBuilder.add_filter to match all files

I’m using a FileDialogBuilder in a Tauri app to let a user select a file for processing. Although the input files will often have one of a particular set of extensions, I’d like the dialog to also allow selecting a file without regard for its extension.

using threads with tauri

I am trying to make a tauri app and trying to use threads to do work and to use events from tauri to start and stop threads

Cannot await for a function in an async function of Tauri::command

I cant await for a function if i use a Tauri function.
I am really new to RUST and dont know much about futures and stuff, My program worked well in the terminal but now i just want to make a good UI so i am using tauri, it does not allow me to call an async function