Jump to content

Tauri (software framework)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Noworldconcerto (talk | contribs) at 21:27, 14 April 2024 (new page, for rust-folk!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Tauri
Original author(s)Daniel Thompson-Yvetot, Lucas Nogueira
Initial releaseJune 19, 2020; 4 years ago (2020-06-19)
Stable release
2024 (v2.0.0-beta.14)
Repositorywww.github.com/tauri-apps/tauri
Written inRust & Javascript
Operating systemmacOs, Linux, Windows
LicenseMIT License, Apache License 2.0
Websitehttps://tauri.app/
As ofApril 2024

Tauri is an open-source software framework designed to create cross-platform desktop applications on Linux, macOS and Windows using a web frontend. The framework functions with a Rust back-end and a JavaScript front-end WebView using rendering libraries like Tao and Wry.[1] Tauri was released as a less bulky alternative to similar existing frameworks such as Electron.[2]

Tauri 1.0 was released in June 2020. In 2024, Tauri v2 Beta was released, which includes mobile support for iOS and Android systems.

Architecture

Central to Tauri's architecture are core components such as the Tauri crate, which serves as a hub for managing various functionalities like runtimes, macros, utilities, and APIs. The toolkit also includes essential tooling such as bundlers, CLI interfaces, and scaffolding kits, to streamline the development and deployment processes. Tauri supports cross-platform application window creation (TAO) and WebView rendering (WRY), which allows compatibility across macOS, Linux and Windows platforms.

Tauri is built using Rust, which is known for its speed and security due to its memory safety features.[3] It also allows users the function to switch individual APIs on and off,[4] and provides an isolation pattern to prevent untrusted scripts from accessing the back-end from a WebView.

  1. ^ tauri-apps/tauri, Tauri, 2024-04-14, retrieved 2024-04-14
  2. ^ "Tauri vs Electron: The best Electron alternative created yet". www.astrolytics.io. Retrieved 2024-04-14.
  3. ^ Beningo, Jacob (2023-01-17). "Memory safety in Rust". Embedded.com. Retrieved 2024-04-14.
  4. ^ "Tauri VS. Electron - Real world application". www.levminer.com. Retrieved 2024-04-14.