# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77.2" name = "tauri" version = "2.1.1" authors = ["Tauri Programme within The Commons Conservancy"] build = "build.rs" links = "Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target", ] 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.cargo-udeps.ignore] build = ["tauri-build"] development = ["quickcheck_macros"] normal = ["reqwest"] [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" features = [ "wry", "unstable", "custom-protocol", "tray-icon", "devtools", "image-png", "protocol-asset", "test", "specta", ] no-default-features = true rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-linux-android", "x86_64-apple-ios", ] [lib] name = "tauri" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.data-url] version = "0.3" optional = true [dependencies.dirs] version = "5" [dependencies.dunce] version = "1" [dependencies.futures-util] version = "0.3" [dependencies.getrandom] version = "0.2" [dependencies.glob] version = "0.3" [dependencies.heck] version = "0.5" [dependencies.http] version = "1.1" [dependencies.http-range] version = "0.1.5" optional = true [dependencies.image] version = "0.25" optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.mime] version = "0.3" [dependencies.percent-encoding] version = "2.3" [dependencies.raw-window-handle] version = "0.6" features = ["std"] [dependencies.reqwest] version = "0.12" features = [ "json", "stream", ] default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0" features = ["raw_value"] [dependencies.serde_repr] version = "0.1" [dependencies.serialize-to-javascript] version = "=0.1.1" [dependencies.specta] version = "^2.0.0-rc.16" features = [ "function", "derive", ] optional = true default-features = false [dependencies.tauri-macros] version = "2.0.3" [dependencies.tauri-runtime] version = "2.2.0" [dependencies.tauri-runtime-wry] version = "2.2.0" optional = true [dependencies.tauri-utils] version = "2.1.0" 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.urlpattern] version = "0.3" [dependencies.uuid] version = "1" features = ["v4"] optional = true [dev-dependencies.cargo_toml] version = "0.17" [dev-dependencies.http-range] version = "0.1.5" [dev-dependencies.proptest] version = "1.4.0" [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.quickcheck_macros] version = "1.0.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1" features = ["full"] [build-dependencies.heck] version = "0.5" [build-dependencies.tauri-build] version = "2.0.3" default-features = false [build-dependencies.tauri-utils] version = "2.1.0" features = ["build"] [features] common-controls-v6 = [ "tray-icon?/common-controls-v6", "muda/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", "objc-exception", "common-controls-v6", ] devtools = [ "tauri-runtime/devtools", "tauri-runtime-wry/devtools", ] 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 = ["tauri-runtime-wry/objc-exception"] process-relaunch-dangerous-allow-symlink-macos = ["tauri-utils/process-relaunch-dangerous-allow-symlink-macos"] protocol-asset = ["http-range"] rustls-tls = ["reqwest/rustls-tls"] 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"] wry = ["tauri-runtime-wry"] [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.swift-rs] version = "1.0.7" [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.1" features = ["v2_40"] [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.15" features = ["serde"] 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.19" 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] version = "0.5.2" [target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit] version = "0.2.2" features = [ "NSApplication", "NSColor", "NSResponder", "NSView", "NSWindow", "NSImage", ] [target.'cfg(target_os = "macos")'.dependencies.objc2-foundation] version = "0.2.2" features = [ "NSData", "NSThread", ] [target.'cfg(target_os = "macos")'.dependencies.plist] version = "1" [target.'cfg(target_os = "macos")'.dependencies.window-vibrancy] version = "0.5" [target.'cfg(target_os = "macos")'.dev-dependencies.objc2-web-kit] version = "0.2.2" features = [ "objc2-app-kit", "WKWebView", "WKUserContentController", ] [target."cfg(windows)".dependencies.webview2-com] version = "0.33" [target."cfg(windows)".dependencies.window-vibrancy] version = "0.5" [target."cfg(windows)".dependencies.windows] version = "0.58" features = ["Win32_Foundation"]