Cargo Features

[dependencies]
tauri = { version = "2.1.1", default-features = false, features = ["unstable", "common-controls-v6", "tray-icon", "tracing", "compression", "wry", "objc-exception", "linux-libxdo", "isolation", "custom-protocol", "native-tls", "native-tls-vendored", "rustls-tls", "devtools", "process-relaunch-dangerous-allow-symlink-macos", "macos-private-api", "webview-data-url", "protocol-asset", "config-json5", "config-toml", "image-ico", "image-png", "macos-proxy", "specta", "test"] }
default = common-controls-v6, compression, objc-exception, wry

These default features are set whenever tauri is added without default-features = false somewhere in the dependency tree.

unstable

Enables unstable of tauri-runtime-wry

Affects tauri::Manager.get_window, tauri::Manager.get_focused_window, tauri::Manager.windows, tauri::Manager.get_webview, tauri::Manager.webviews

common-controls-v6 default

Enables common-controls-v6 of muda and optional tray-icon

tray-icon linux-libxdo?

Enables tray-icon

Affects tauri::tray, manager::AppManager.tray

tracing

Enables tracing, tracing of tauri-macros and tauri-runtime-wry

compression default

Enables compression of tauri-macros and tauri-utils

wry default = tauri-runtime-wry

Affects tauri::Wry, tauri::WryHandle, webview::PlatformWebview

objc-exception default

Enables objc-exception of tauri-runtime-wry

linux-libxdo

Enables libxdo of muda and tray-icon

isolation = uuid

Enables isolation of tauri-macros and tauri-utils

Affects protocol::isolation

custom-protocol

Enables custom-protocol of tauri-macros

native-tls

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

native-tls-vendored

Enables native-tls-vendored of reqwest

rustls-tls

Enables rustls-tls of reqwest

devtools

Enables devtools of tauri-runtime and tauri-runtime-wry

Enables process-relaunch…symlink-macos of tauri-utils

macos-private-api

Enables macos-private-api of tauri-runtime and tauri-runtime-wry

webview-data-url = data-url
protocol-asset = http-range

Affects tauri::Manager.asset_protocol_scope, protocol::asset

config-json5

Enables config-json5 of tauri-macros

config-toml

Enables config-toml of tauri-macros

image-ico

Enables ico of image

image-png

Enables png of image

macos-proxy

Enables macos-proxy of tauri-runtime-wry

specta

Enables specta

test

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

uuid isolation?
tauri-runtime-wry devtools? macos-private-api? macos-proxy? objc-exception tracing? unstable? wry
data-url webview-data-url?
image image-ico? image-png?
http-range protocol-asset?