tauri-plugin-gpui 0.1.1

Render GPUI views inside ordinary Tauri windows
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "tauri-plugin-gpui"
version = "0.1.1"
build = "build.rs"
links = "tauri-plugin-gpui"
exclude = [
    ".github",
    "docs",
    "PRD.md",
    "scripts",
    "tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render GPUI views inside ordinary Tauri windows"
homepage = "https://github.com/ziinc/tauri-gpui"
documentation = "https://docs.rs/tauri-plugin-gpui"
readme = "README.md"
keywords = [
    "tauri",
    "tauri-plugin",
    "gpui",
    "gui",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/ziinc/tauri-gpui"

[package.metadata.docs.rs]
features = ["mobile"]
targets = [
    "x86_64-unknown-linux-gnu",
    "aarch64-apple-darwin",
    "x86_64-pc-windows-msvc",
    "aarch64-linux-android",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
mobile = [
    "dep:jni",
    "dep:ndk",
    "dep:objc2",
    "dep:objc2-core-foundation",
    "dep:objc2-foundation",
    "dep:objc2-quartz-core",
    "dep:objc2-ui-kit",
    "dep:block2",
]
test-support = [
    "gpui/test-support",
    "gpui_wgpu/test-support",
]

[lib]
name = "tauri_plugin_gpui"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.gpui]
version = "=0.3.9"
default-features = false
package = "gpui-pre"

[dependencies.log]
version = "0.4"

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.tauri]
version = "2.12"
features = [
    "unstable",
    "wry",
    "compression",
    "common-controls-v6",
    "dynamic-acl",
    "x11",
]
default-features = false

[dependencies.tauri-runtime-wry]
version = "2.12"
features = [
    "unstable",
    "x11",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"

[dev-dependencies.async-task]
version = "4"

[dev-dependencies.tauri]
version = "2.12"
features = [
    "unstable",
    "test",
    "wry",
    "compression",
    "common-controls-v6",
    "dynamic-acl",
    "x11",
]
default-features = false

[dev-dependencies.tauri-plugin-clipboard-manager]
version = "2"

[build-dependencies.tauri-plugin]
version = "2"
features = ["build"]

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit_unix]
version = "0.22"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gdkwayland-sys]
version = "0.18"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gdkx11]
version = "0.18"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_wgpu]
version = "=0.3.9"
features = ["font-kit"]
package = "gpui-pre-wgpu"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gtk]
version = "0.18"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-backend]
version = "0.3"
features = ["client_system"]

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-client]
version = "0.31"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11-dl]
version = "2.21"

[target.'cfg(not(any(target_os = "ios", target_os = "android")))'.dependencies.arboard]
version = "3"
features = [
    "image-data",
    "wayland-data-control",
]
default-features = false

[target.'cfg(not(any(target_os = "ios", target_os = "android")))'.dependencies.gpui_wgpu]
version = "=0.3.9"
package = "gpui-pre-wgpu"

[target.'cfg(not(any(target_os = "ios", target_os = "android")))'.dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "gif",
    "webp",
    "bmp",
    "tiff",
    "ico",
    "pnm",
]
default-features = false

[target.'cfg(target_os = "android")'.dependencies.gpui_wgpu]
version = "=0.3.9"
package = "gpui-pre-wgpu"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
optional = true

[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9"
optional = true
default-features = false

[target.'cfg(target_os = "ios")'.dependencies.block2]
version = "0.6"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.gpui_wgpu]
version = "=0.3.9"
package = "gpui-pre-wgpu"

[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.6"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.objc2-core-foundation]
version = "0.3"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
version = "0.3"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.objc2-quartz-core]
version = "0.3"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.accesskit_macos]
version = "0.26"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "windows")'.dependencies.accesskit_windows]
version = "0.34"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_UI_Input_Ime",
    "Win32_UI_Shell",
    "Win32_UI_WindowsAndMessaging",
]