Files
proxy-suite-flake/windows/vendor/gpui-pre-windows/Cargo.toml
T
faumarayandClaude Opus 5.5 77becc235c windows: the app's tray, and its Windows build from Linux
- Tray (gpui-tray): a shield coloured by how things are (working, one
  failed, all off, no service), its tooltip saying which; the menu opens
  the window and switches the local proxy, the DPI bypass and the Telegram
  proxy, with their states checked; Quit. Closing the window leaves the
  app in the tray (no tray: it quits); --hidden starts it there.
- The app builds for Windows from Linux: GPUI compiles its HLSL shaders
  with fxc.exe only when the building machine is Windows, so its Windows
  backend is vendored with that one check made on the target instead
  (vendor/gpui-pre-windows/PATCHED.md, tools/vendor-gpui-windows.py), and
  tools/fxc-wine.sh runs Microsoft's fxc.exe under Wine: the compiler from
  the Windows SDK 10.0.26100 installer, pinned by hash, kept on the build
  machine; only the compiled shaders go into the app.
- gui-shot.sh keeps the app off the desktop's session bus.

Under Wine the app starts but cannot draw text (Wine's DirectWrite does
not implement font-set matching), so its Windows rendering is untested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 02:03:18 +03:00

228 lines
5.3 KiB
TOML

# 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"
name = "gpui-pre-windows"
version = "0.3.10"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zed's `gpui_windows` crate (gpui-pre snapshot of zed@08cbb88)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/zed-industries/zed"
resolver = "2"
[package.metadata.cargo-shear]
ignored = ["scap"]
[package.metadata.gpui-pre]
zed-crate = "gpui_windows"
zed-version = "0.1.0"
zed-rev = "08cbb88a152c3751a43e853425a70e9f631a5918"
[features]
default = ["gpui/default"]
screen-capture = [
"gpui/screen-capture",
"scap",
]
test-support = ["gpui/test-support"]
[lib]
name = "gpui_windows"
path = "src/gpui_windows.rs"
doctest = false
[dependencies.gpui]
version = "=0.3.10"
default-features = false
package = "gpui-pre"
[target.'cfg(target_os = "windows")'.dependencies.accesskit]
version = "0.24.0"
features = ["enumn"]
[target.'cfg(target_os = "windows")'.dependencies.accesskit_windows]
version = "0.34"
[target.'cfg(target_os = "windows")'.dependencies.anyhow]
version = "1.0.86"
[target.'cfg(target_os = "windows")'.dependencies.collections]
version = "=0.3.10"
package = "gpui-pre-collections"
[target.'cfg(target_os = "windows")'.dependencies.dunce]
version = "1.0"
[target.'cfg(target_os = "windows")'.dependencies.etagere]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.futures]
version = "0.3.34"
[target.'cfg(target_os = "windows")'.dependencies.gpui_util]
version = "=0.3.10"
package = "gpui-pre-util"
[target.'cfg(target_os = "windows")'.dependencies.image]
version = "0.25.1"
features = [
"bmp",
"dds",
"exr",
"ff",
"gif",
"hdr",
"ico",
"jpeg",
"png",
"pnm",
"qoi",
"rayon",
"tga",
"tiff",
"webp",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.itertools]
version = "0.14.0"
[target.'cfg(target_os = "windows")'.dependencies.log]
version = "0.4"
features = ["std"]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.parking_lot]
version = "0.12.1"
[target.'cfg(target_os = "windows")'.dependencies.rand]
version = "0.9"
features = [
"std",
"std_rng",
"os_rng",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(target_os = "windows")'.dependencies.scap]
version = "0.0.8-zed"
optional = true
default-features = false
package = "zed-scap"
[target.'cfg(target_os = "windows")'.dependencies.scheduler]
version = "=0.3.10"
package = "gpui-pre-scheduler"
[target.'cfg(target_os = "windows")'.dependencies.smallvec]
version = "1.6"
features = [
"union",
"const_new",
]
[target.'cfg(target_os = "windows")'.dependencies.uuid]
version = "1.1"
features = [
"serde",
"v5",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_IO",
"Win32_System_LibraryLoader",
"Win32_System_Ole",
"Win32_System_Threading",
"Win32_System_Variant",
"Win32_UI_Shell",
"Win32_UI_Shell_Common",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_WindowsAndMessaging",
"Data_Xml_Dom",
"UI_Notifications",
"UI_ViewManagement",
"Wdk_System_SystemServices",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Direct3D_Fxc",
"Win32_Graphics_DirectComposition",
"Win32_Graphics_DirectManipulation",
"Win32_Graphics_DirectWrite",
"Win32_Graphics_Dwm",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Hlsl",
"Win32_Media",
"Win32_Security_Credentials",
"Win32_Storage_Packaging_Appx",
"Win32_System_DataExchange",
"Win32_System_Diagnostics_Debug",
"Win32_System_Memory",
"Win32_System_Performance",
"Win32_System_StationsAndDesktops",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_UI_Controls",
"Win32_UI_HiDpi",
"Win32_UI_Input_Ime",
"Win32_UI_Input_Pointer",
]
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.62"
[target.'cfg(target_os = "windows")'.dependencies.windows-numerics]
version = "0.3"
[target.'cfg(target_os = "windows")'.dependencies.windows-registry]
version = "0.6.0"
[target.'cfg(target_os = "windows")'.build-dependencies.windows-registry]
version = "0.6.0"
[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.style]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0