Outline updated November 2026

Foundation21 hours delivered over 3-5 daysLive, online or on-site

Request this course

Desktop and Mobile Apps with Rust and Tauri 2

Class Duration

21 hours of live training delivered over 3-5 days to accommodate your scheduling needs.

Student Prerequisites

  • Working Rust experience equivalent to Rust Essentials
  • Comfort with HTML, CSS, and a JavaScript or Rust-based UI framework
  • Familiarity with the command line and Git

Target Audience

Engineers building cross-platform desktop apps, such as internal tools, developer tools, or local AI apps, who want small binaries and a strict permission model. It also fits teams shipping one app to both desktop and mobile. New to Rust? Start with Rust Essentials.

Description

Tauri builds desktop and mobile apps from a Rust backend and a web frontend that runs in the system webview. This course covers project setup with React, Vue, Svelte, Solid, or Leptos, and the Rust command layer behind it. It also covers the capability and permission model, native menus, and file-system and OS integration. Students target iOS and Android, then build signed installers with auto-update. AI coding assistants handle routine code, while the compiler and clippy check the Rust side.

Learning Outcomes

  • Create a Tauri project with a chosen frontend and a Rust backend.
  • Call Rust commands from the frontend with typed arguments and errors.
  • Apply least privilege with capability files.
  • Build windows, menus, tray icons, dialogs, and notifications.
  • Use the file system, databases, and remote APIs from Rust.
  • Target iOS and Android from the same codebase.
  • Sign and distribute installers for desktop and the mobile stores.
  • Review AI-generated capability files before shipping.

Training Materials

All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples.

Software Requirements

A free GitHub account, the current stable Rust toolchain via rustup (2024 edition), with examples on Tauri 2, Visual Studio Code or another supported editor with the rust-analyzer extension, Node.js 22+ (if a JavaScript frontend is chosen), Docker for the local PostgreSQL instance (if the database module is included), platform tooling for the chosen target OS (Xcode, Android SDK, etc.), and an AI coding assistant of choice (GitHub Copilot, Cursor, or Claude Code). A cloud-based environment can be provided if local installation is restricted.

Training Topics

Tauri Overview

  • What changed from Tauri 1
  • Mobile support
  • ACL-based capabilities
  • Core features moved into plugins
  • Tauri vs. Electron, Qt, .NET MAUI, and Flutter
  • Rust backend and native webview
  • Why Tauri binaries are smaller than Electron's
  • Roadmap and plugin ecosystem

Getting Started

  • Creating a Tauri project
  • Choosing a frontend framework
  • Project structure and tauri.conf.json
  • Capability files
  • Running and debugging apps

Frontend ↔ Backend Communication

  • Rust commands with #[tauri::command]
  • Calling commands with invoke
  • Argument and return-type conversions
  • Errors across the boundary
  • Async commands and long-running tasks

App Architecture and State

  • App, AppHandle, and WebviewWindow
  • Managed state with tauri::State
  • Events with emit and listen
  • Multi-window apps and messaging

Native UI Elements

  • Window sizing and platform behavior
  • App and window menus
  • Native context menus
  • Tray icons
  • Splash screens
  • Native dialogs and notifications

Capabilities and the Permission Model (ACL)

  • Why ACL replaced the v1 allowlist
  • Capabilities for windows and contexts
  • Plugin permissions and scopes
  • What a compromised webview can do
  • Auditing AI-generated capability files

Operating-System Integration

  • File pickers, watchers, and paths
  • Clipboard access
  • Deep links and protocol handlers
  • Shell and process integration
  • Autostart and background work
  • The official plugin set

Mobile (iOS and Android)

  • Setting up mobile targets
  • Notification and dialog plugins
  • NFC and barcode scanning
  • Biometric authentication
  • Deep links on mobile
  • Platform-specific code with #[cfg(...)]
  • Building and signing mobile apps

Database and Network

  • PostgreSQL with sqlx
  • SQLite for embedded storage
  • REST calls with reqwest
  • Caching and offline-first design
  • Background sync

Building and Distributing

  • .dmg, .msi, .AppImage, .deb, and .rpm
  • Code signing on macOS and Windows
  • Auto-update with the updater plugin
  • Cross-platform CI with GitHub Actions
  • App Store and Play Store submission

AI-Assisted Tauri Development

  • AI for commands, plugins, and bindings
  • Where AI fails on security boundaries
  • Prompts for plugin and command design
  • Catching AI mistakes with the compiler
  • AI-assisted refactors and code review

Private team training

Bring this course to your team

Tell us about your team and we will tailor this outline to your tools, stack, and schedule. Courses can also be combined into a longer program.

  1. Tell us what you needYour tools, stack, team size, and timeline.
  2. We send a proposalA course or program, an outline adjusted to your team, and possible dates.
  3. Your team trains liveOnline or on-site, with courseware for every student.

Prefer to talk? Call +1 434-509-6890 or email help@cloudcontraptions.com.

We reply within 1 business day.

Training partner?