[package]
edition = "2021"
rust-version = "1.77.2"
name = "tauri"
version = "2.10.0"
authors = ["Tauri Programme within The Commons Conservancy"]
build = "build.rs"
links = "Tauri"
exclude = [
"/test",
"/.scripts",
"CHANGELOG.md",
"/target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Make tiny, secure apps for all desktop platforms with Tauri"
homepage = "https://tauri.app/"
readme = "README.md"
categories = [
"gui",
"web-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/tauri-apps/tauri"
[package.metadata.docs.rs]
no-default-features = true
features = [
"wry",
"unstable",
"custom-protocol",
"tray-icon",
"devtools",
"image-png",
"protocol-asset",
"test",
"specta",
"dynamic-acl",
]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-linux-android",
"x86_64-apple-ios",
]
[package.metadata.cargo-udeps.ignore]
normal = ["reqwest"]
build = ["tauri-build"]
development = ["quickcheck_macros"]
[features]
common-controls-v6 = [
"tray-icon?/common-controls-v6",
"muda/common-controls-v6",
"tauri-runtime-wry?/common-controls-v6",
]
compression = [
"tauri-macros/compression",
"tauri-utils/compression",
]
config-json5 = ["tauri-macros/config-json5"]
config-toml = ["tauri-macros/config-toml"]
custom-protocol = ["tauri-macros/custom-protocol"]
default = [
"wry",
"compression",
"common-controls-v6",
"dynamic-acl",
"x11",
]
devtools = [
"tauri-runtime/devtools",
"tauri-runtime-wry?/devtools",
]
dynamic-acl = []
image-ico = ["image/ico"]
image-png = ["image/png"]
isolation = [
"tauri-utils/isolation",
"tauri-macros/isolation",
"uuid",
]
linux-libxdo = [
"tray-icon/libxdo",
"muda/libxdo",
]
macos-private-api = [
"tauri-runtime/macos-private-api",
"tauri-runtime-wry?/macos-private-api",
]
macos-proxy = ["tauri-runtime-wry?/macos-proxy"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
objc-exception = []
process-relaunch-dangerous-allow-symlink-macos = ["tauri-utils/process-relaunch-dangerous-allow-symlink-macos"]
protocol-asset = ["http-range"]
rustls-tls = [
"reqwest/rustls-no-provider",
"dep:rustls",
]
specta = ["dep:specta"]
test = []
tracing = [
"dep:tracing",
"tauri-macros/tracing",
"tauri-runtime-wry?/tracing",
]
tray-icon = ["dep:tray-icon"]
unstable = ["tauri-runtime-wry?/unstable"]
webview-data-url = [
"data-url",
"tauri-utils/html-manipulation",
]
wry = [
"webview2-com",
"webkit2gtk",
"tauri-runtime-wry",
]
x11 = ["tauri-runtime-wry?/x11"]
[lib]
name = "tauri"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.cookie]
version = "0.18"
[dependencies.data-url]
version = "0.3"
optional = true
[dependencies.dirs]
version = "6"
[dependencies.dunce]
version = "1"
[dependencies.getrandom]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.heck]
version = "0.5"
[dependencies.http]
version = "1"
[dependencies.http-range]
version = "0.1"
optional = true
[dependencies.image]
version = "0.25"
optional = true
default-features = false
[dependencies.log]
version = "0.4.21"
[dependencies.mime]
version = "0.3"
[dependencies.percent-encoding]
version = "2"
[dependencies.raw-window-handle]
version = "0.6"
features = ["std"]
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dependencies.serde_repr]
version = "0.1"
[dependencies.serialize-to-javascript]
version = "0.1.2"
[dependencies.specta]
version = "^2.0.0-rc.16"
features = [
"function",
"derive",
]
optional = true
default-features = false
[dependencies.tauri-macros]
version = "2.5.3"
[dependencies.tauri-runtime]
version = "2.10.0"
[dependencies.tauri-runtime-wry]
version = "2.10.0"
optional = true
default-features = false
[dependencies.tauri-utils]
version = "2.8.2"
features = ["resources"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"fs",
"io-util",
]
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true
[dev-dependencies.cargo_toml]
version = "0.22"
[dev-dependencies.http-range]
version = "0.1.5"
[dev-dependencies.proptest]
version = "1.6.0"
[dev-dependencies.quickcheck]
version = "1.0.3"
[dev-dependencies.quickcheck_macros]
version = "1.0.0"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[build-dependencies.glob]
version = "0.3"
[build-dependencies.heck]
version = "0.5"
[build-dependencies.tauri-build]
version = "2.5.4"
default-features = false
[build-dependencies.tauri-utils]
version = "2.8.2"
features = ["build"]
[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dependencies.libc]
version = "0.2"
[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dependencies.objc2-ui-kit]
version = "0.3.0"
features = ["UIView"]
default-features = false
[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dependencies.swift-rs]
version = "1"
[target.'cfg(any(target_os = "android", all(target_vendor = "apple", not(target_os = "macos"))))'.dependencies.bytes]
version = "1"
features = ["serde"]
[target.'cfg(any(target_os = "android", all(target_vendor = "apple", not(target_os = "macos"))))'.dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
default-features = false
[target.'cfg(any(target_os = "android", all(target_vendor = "apple", not(target_os = "macos"))))'.dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gtk]
version = "0.18"
features = ["v3_24"]
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.webkit2gtk]
version = "=2.0.2"
features = ["v2_40"]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "windows", target_os = "macos"))'.dependencies.muda]
version = "0.17"
features = [
"serde",
"gtk",
]
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "windows", target_os = "macos"))'.dependencies.tray-icon]
version = "0.21"
features = ["serde"]
optional = true
default-features = false
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target.'cfg(target_os = "macos")'.dependencies.embed_plist]
version = "1.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"NSApplication",
"NSColor",
"NSResponder",
"NSView",
"NSWindow",
"NSImage",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"std",
"NSData",
"NSThread",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-web-kit]
version = "0.3"
features = [
"objc2-app-kit",
"WKWebView",
"WKUserContentController",
]
[target.'cfg(target_os = "macos")'.dependencies.plist]
version = "1"
[target.'cfg(target_os = "macos")'.dependencies.window-vibrancy]
version = "0.6"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6"
[target."cfg(windows)".dependencies.webview2-com]
version = "0.38"
optional = true
[target."cfg(windows)".dependencies.window-vibrancy]
version = "0.6"
[target."cfg(windows)".dependencies.windows]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_UI",
"Win32_UI_WindowsAndMessaging",
]