[][src]Crate tauri

Tauri is a framework for building tiny, blazing fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their user interface. The backend of the application is a rust-sourced binary with an API that the front-end can interact with.

The user interface in Tauri apps currently leverages Cocoa/WebKit on macOS, gtk-webkit2 on Linux and MSHTML (IE10/11) or Webkit via Edge on Windows. Tauri uses (and contributes to) the MIT licensed project that you can find at webview.

Re-exports

pub use tauri_api as api;

Modules

event

The event system module.

plugin

The plugin manager module contains helpers to manage runtime plugins.

settings

The Tauri-specific settings for your app e.g. notification permission status.

Structs

App

The application runner.

AppBuilder

The App builder.

Webview
WebviewMut

Functions

call

Calls the given command and evaluates its output to the JS promise described by the callback and error function names.

close_splashscreen

Closes the splashscreen.

execute_promise

Asynchronously executes the given task and evaluates its Result to the JS promise described by the success_callback and error_callback function names.

execute_promise_sync

Synchronously executes the given task and evaluates its Result to the JS promise described by the callback and error function names.

spawn

Executes the operation in the thread pool.

Type Definitions

Result

Alias for a Result with error type anyhow::Error.