Some checks failed
Audit / audit-js (push) Failing after 0s
bench / bench (map[os:ubuntu-latest runner:xvfb-run --auto-servernum target:x86_64-unknown-linux-gnu], nightly) (push) Failing after 0s
covector version or publish / run-integration-tests (ubuntu-latest) (push) Failing after 0s
Audit / audit-rust (push) Failing after 0s
test `@tauri-apps/cli` / test (ubuntu-latest) (push) Failing after 0s
test `tauri-cli` / test (map[os:ubuntu-latest target:x86_64-unknown-linux-gnu]) (push) Failing after 0s
test core / test (map[args:--all-features key:all], map[cargo:cargo command:test os:ubuntu-latest target:x86_64-unknown-linux-gnu toolchain:1.90]) (push) Failing after 0s
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:test os:ubuntu-latest target:x86_64-unknown-linux-gnu toolchain:1.90]) (push) Failing after 0s
test core / test (map[args:--no-default-features key:no-default], map[cargo:cross command:build os:ubuntu-latest target:aarch64-linux-android toolchain:1.90]) (push) Failing after 0s
deploy schema worker / deploy (push) Failing after 0s
lint rust / clippy (map[cargo:cargo include: os:ubuntu-latest target:x86_64-unknown-linux-gnu]) (push) Failing after 0s
lint rust / clippy (map[cargo:cross include:--package api os:ubuntu-latest target:aarch64-linux-android]) (push) Failing after 0s
supply chain health status / check rust dependencies with cargo vet (push) Failing after 0s
test `@tauri-apps/api` e2e (mobile) / android (push) Failing after 0s
test `@tauri-apps/api` e2e / test (map[name:Linux os:ubuntu-latest]) (push) Failing after 0s
test core / test (map[args:--all-features key:all], map[cargo:cross command:build os:ubuntu-latest target:aarch64-linux-android toolchain:1.90]) (push) Failing after 0s
Udeps / changes (push) Failing after 0s
Udeps / setup (push) Has been skipped
Udeps / udeps (push) Has been skipped
bench / bench (map[os:macos-latest runner: target:aarch64-apple-darwin], nightly) (push) Has been cancelled
bench / bench (map[os:windows-latest runner: target:x86_64-pc-windows-msvc], nightly) (push) Has been cancelled
covector version or publish / run-integration-tests (macos-latest) (push) Has been cancelled
covector version or publish / run-integration-tests (windows-latest) (push) Has been cancelled
covector version or publish / version-or-publish (push) Has been cancelled
test `@tauri-apps/cli` / test (macos-latest) (push) Has been cancelled
test `tauri-cli` / test (map[args:--no-default-features --features native-tls-vendored os:windows-latest restore-only:true target:aarch64-pc-windows-msvc]) (push) Has been cancelled
test `tauri-cli` / test (map[os:macos-latest target:x86_64-apple-darwin]) (push) Has been cancelled
test `tauri-cli` / test (map[os:windows-latest target:x86_64-pc-windows-msvc]) (push) Has been cancelled
test core / test (map[args:--all-features key:all], map[cargo:cargo command:build os:macos-latest target:aarch64-apple-ios toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--all-features key:all], map[cargo:cargo command:test os:macos-14 target:aarch64-apple-darwin toolchain:1.90]) (push) Has been cancelled
lint rust / clippy (map[cargo:cargo include: os:macos-latest target:aarch64-apple-darwin]) (push) Has been cancelled
lint rust / clippy (map[cargo:cargo include: os:windows-latest target:x86_64-pc-windows-msvc]) (push) Has been cancelled
lint rust / clippy (map[cargo:cargo include:--package api os:macos-latest target:aarch64-apple-ios]) (push) Has been cancelled
test `@tauri-apps/api` e2e (mobile) / ios (push) Has been cancelled
test `@tauri-apps/api` e2e / test (map[name:Windows os:windows-latest]) (push) Has been cancelled
test `@tauri-apps/api` e2e / test (map[name:macOS os:macos-latest]) (push) Has been cancelled
test `@tauri-apps/cli` / test (windows-latest) (push) Has been cancelled
test core / test (map[args:--all-features key:all], map[cargo:cargo command:test os:windows-latest target:x86_64-pc-windows-msvc toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:build os:macos-latest target:aarch64-apple-ios toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:test os:macos-14 target:aarch64-apple-darwin toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:test os:windows-latest target:x86_64-pc-windows-msvc toolchain:1.90]) (push) Has been cancelled
279 lines
7.4 KiB
TOML
279 lines
7.4 KiB
TOML
[package]
|
|
name = "tauri"
|
|
version = "2.11.5"
|
|
description = "Make tiny, secure apps for all desktop platforms with Tauri"
|
|
exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"]
|
|
links = "Tauri"
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
categories.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
no-default-features = true
|
|
features = [
|
|
"wry",
|
|
"unstable",
|
|
"custom-protocol",
|
|
"tray-icon",
|
|
"devtools",
|
|
"image-png",
|
|
"protocol-asset",
|
|
"test",
|
|
"specta",
|
|
"dynamic-acl",
|
|
"isolation",
|
|
]
|
|
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"]
|
|
|
|
[dependencies]
|
|
serde_json = { version = "1", features = ["raw_value"] }
|
|
serde = { version = "1", features = ["derive", "rc"] }
|
|
tokio = { version = "1", features = [
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"sync",
|
|
"fs",
|
|
"io-util",
|
|
] }
|
|
uuid = { version = "1", features = ["v4"], optional = true }
|
|
url = "2"
|
|
anyhow = "1"
|
|
thiserror = "2"
|
|
tauri-runtime = { workspace = true }
|
|
tauri-macros = { workspace = true }
|
|
tauri-utils = { workspace = true, features = ["resources"] }
|
|
tauri-runtime-wry = { workspace = true, optional = true }
|
|
getrandom = "0.3"
|
|
serde_repr = "0.1"
|
|
http = "1"
|
|
dirs = "7"
|
|
percent-encoding = "2"
|
|
raw-window-handle = { version = "0.6", features = ["std"] }
|
|
glob = "0.3"
|
|
mime = "0.3"
|
|
data-url = { version = "0.3", optional = true }
|
|
serialize-to-javascript = "0.1.2"
|
|
image = { version = "0.25", default-features = false, optional = true }
|
|
http-range = { version = "0.1", optional = true }
|
|
tracing = { version = "0.1", optional = true }
|
|
heck = "0.5"
|
|
log = "0.4.21"
|
|
dunce = "1"
|
|
specta = { version = "^2.0.0-rc.16", optional = true, default-features = false, features = [
|
|
"function",
|
|
"derive",
|
|
] }
|
|
# WARNING: cookie::Cookie is re-exported so bumping this is a breaking change, documented to be done as a minor bump
|
|
cookie = "0.18"
|
|
|
|
# desktop
|
|
[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.19", default-features = false, features = [
|
|
"serde",
|
|
"gtk",
|
|
] }
|
|
tray-icon = { version = "0.24", default-features = false, features = [
|
|
"serde",
|
|
"gtk",
|
|
], optional = true }
|
|
|
|
# linux
|
|
[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"] }
|
|
webkit2gtk = { version = "2", features = ["v2_40"], optional = true }
|
|
|
|
# darwin
|
|
[target.'cfg(target_vendor = "apple")'.dependencies]
|
|
objc2 = "0.6"
|
|
|
|
# macOS
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
embed_plist = "1.2"
|
|
plist = "1"
|
|
objc2-foundation = { version = "0.3.2", default-features = false, features = [
|
|
"std",
|
|
"NSData",
|
|
"NSEnumerator",
|
|
"NSThread",
|
|
] }
|
|
objc2-app-kit = { version = "0.3.2", default-features = false, features = [
|
|
"std",
|
|
"NSApplication",
|
|
"NSColor",
|
|
"NSResponder",
|
|
"NSView",
|
|
"NSWindow",
|
|
"NSImage",
|
|
] }
|
|
objc2-web-kit = { version = "0.3.2", default-features = false, features = [
|
|
"objc2-app-kit",
|
|
"WKWebView",
|
|
"WKWebViewConfiguration",
|
|
"WKUserContentController",
|
|
] }
|
|
window-vibrancy = "0.8.1"
|
|
|
|
# windows
|
|
[target."cfg(windows)".dependencies]
|
|
webview2-com = { version = "0.39", optional = true }
|
|
window-vibrancy = "0.8.1"
|
|
windows = { version = "0.62", features = [
|
|
"Win32_Foundation",
|
|
"Win32_UI",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_Graphics_Gdi",
|
|
] }
|
|
|
|
# mobile
|
|
[target.'cfg(any(target_os = "android", all(target_vendor = "apple", not(target_os = "macos"))))'.dependencies]
|
|
bytes = { version = "1", features = ["serde"] }
|
|
reqwest = { version = "0.13", default-features = false, features = [
|
|
"json",
|
|
"stream",
|
|
] }
|
|
rustls = { version = "0.23", default-features = false, features = [
|
|
"ring",
|
|
], optional = true }
|
|
|
|
# android
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
jni = "0.21"
|
|
|
|
# UIKit, i.e. iOS/tvOS/watchOS/visionOS
|
|
[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dependencies]
|
|
libc = "0.2"
|
|
swift-rs = "1.0.8"
|
|
objc2-ui-kit = { version = "0.3.2", default-features = false, features = [
|
|
"UIApplication",
|
|
"UIResponder",
|
|
"UIView",
|
|
] }
|
|
|
|
[build-dependencies]
|
|
glob = "0.3"
|
|
heck = "0.5"
|
|
tauri-build = { workspace = true }
|
|
tauri-utils = { workspace = true, features = ["build-2"] }
|
|
|
|
[dev-dependencies]
|
|
proptest = "1.6.0"
|
|
quickcheck = "1.0.3"
|
|
quickcheck_macros = "1.0.0"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tauri = { path = ".", default-features = false, features = ["wry"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
cargo_toml = "1.0"
|
|
http-range = "0.1.5"
|
|
|
|
[features]
|
|
default = [
|
|
"wry",
|
|
"compression",
|
|
"common-controls-v6",
|
|
"dynamic-acl",
|
|
"x11",
|
|
"dbus",
|
|
]
|
|
unstable = ["tauri-runtime-wry?/unstable"]
|
|
x11 = ["tauri-runtime-wry?/x11"]
|
|
dbus = ["tauri-runtime-wry?/dbus"]
|
|
common-controls-v6 = [
|
|
"tray-icon?/common-controls-v6",
|
|
"muda/common-controls-v6",
|
|
"tauri-runtime-wry?/common-controls-v6",
|
|
]
|
|
tray-icon = ["dep:tray-icon"]
|
|
tracing = ["dep:tracing", "tauri-macros/tracing", "tauri-runtime-wry?/tracing"]
|
|
test = []
|
|
compression = ["tauri-macros/compression", "tauri-utils/compression"]
|
|
wry = ["webview2-com", "webkit2gtk", "tauri-runtime-wry"]
|
|
# TODO: Remove in v3 - wry does not have this feature anymore
|
|
objc-exception = []
|
|
linux-libxdo = ["tray-icon/libxdo", "muda/libxdo"]
|
|
isolation = ["tauri-utils/isolation", "tauri-macros/isolation", "uuid"]
|
|
custom-protocol = ["tauri-macros/custom-protocol"]
|
|
# TODO: Remove these flags in v3 and/or enable them by default behind a mobile flag https://github.com/tauri-apps/tauri/issues/12384
|
|
native-tls = ["reqwest/native-tls"]
|
|
native-tls-vendored = ["reqwest/native-tls-vendored"]
|
|
rustls-tls = ["reqwest/rustls-no-provider", "dep:rustls"]
|
|
devtools = ["tauri-runtime/devtools", "tauri-runtime-wry?/devtools"]
|
|
process-relaunch-dangerous-allow-symlink-macos = [
|
|
"tauri-utils/process-relaunch-dangerous-allow-symlink-macos",
|
|
]
|
|
macos-private-api = [
|
|
"tauri-runtime/macos-private-api",
|
|
"tauri-runtime-wry?/macos-private-api",
|
|
]
|
|
webview-data-url = ["data-url", "tauri-utils/html-manipulation-2"]
|
|
protocol-asset = ["http-range"]
|
|
config-json5 = ["tauri-macros/config-json5"]
|
|
config-toml = ["tauri-macros/config-toml"]
|
|
image-ico = ["image/ico"]
|
|
image-png = ["image/png"]
|
|
macos-proxy = ["tauri-runtime-wry?/macos-proxy"]
|
|
dynamic-acl = []
|
|
specta = ["dep:specta"]
|
|
|
|
[[example]]
|
|
name = "commands"
|
|
path = "../../examples/commands/main.rs"
|
|
|
|
[[example]]
|
|
name = "helloworld"
|
|
path = "../../examples/helloworld/main.rs"
|
|
|
|
[[example]]
|
|
name = "drag"
|
|
path = "../../examples/drag/main.rs"
|
|
|
|
[[example]]
|
|
name = "multiwebview"
|
|
path = "../../examples/multiwebview/main.rs"
|
|
required-features = ["unstable"]
|
|
|
|
[[example]]
|
|
name = "multiwindow"
|
|
path = "../../examples/multiwindow/main.rs"
|
|
|
|
[[example]]
|
|
name = "run-return"
|
|
path = "../../examples/run-return/main.rs"
|
|
|
|
[[example]]
|
|
name = "splashscreen"
|
|
path = "../../examples/splashscreen/main.rs"
|
|
|
|
[[example]]
|
|
name = "state"
|
|
path = "../../examples/state/main.rs"
|
|
|
|
[[example]]
|
|
name = "streaming"
|
|
path = "../../examples/streaming/main.rs"
|
|
|
|
[[example]]
|
|
name = "isolation"
|
|
path = "../../examples/isolation/main.rs"
|
|
required-features = ["isolation"]
|
|
|
|
[lints]
|
|
workspace = true
|