[dependencies.anyhow]
version = "1.0.86"
[dependencies.async-task]
version = "4.7"
[dependencies.backtrace]
optional = true
version = "0.3"
[dependencies.bitflags]
optional = true
version = "2.6.0"
[dependencies.blade-graphics]
optional = true
version = "0.7.0"
[dependencies.blade-macros]
optional = true
version = "0.3.0"
[dependencies.blade-util]
optional = true
version = "0.3.0"
[dependencies.bytemuck]
optional = true
version = "1"
[dependencies.circular-buffer]
version = "1.0"
[dependencies.collections]
package = "gpui_collections"
version = "0.2.2"
[dependencies.ctor]
version = "0.4.0"
[dependencies.derive_more]
version = "0.99.17"
[dependencies.etagere]
version = "0.2"
[dependencies.futures]
version = "0.3"
[dependencies.gpui_macros]
package = "gpui-macros"
version = "0.2.2"
[dependencies.http_client]
package = "gpui_http_client"
version = "0.2.2"
[dependencies.image]
version = "0.25.1"
[dependencies.inventory]
version = "0.3.19"
[dependencies.itertools]
version = "0.14.0"
[dependencies.libc]
version = "0.2"
[dependencies.log]
features = ["kv_unstable_serde", "serde"]
version = "0.4.16"
[dependencies.lyon]
version = "1.0"
[dependencies.num_cpus]
version = "1.13"
[dependencies.parking]
version = "2.0.0"
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.pin-project]
version = "1.1.10"
[dependencies.postage]
features = ["futures-traits"]
version = "0.5"
[dependencies.profiling]
version = "1"
[dependencies.rand]
version = "0.9"
[dependencies.raw-window-handle]
version = "0.6"
[dependencies.refineable]
package = "gpui_refineable"
version = "0.2.2"
[dependencies.resvg]
default-features = false
features = ["text", "system-fonts", "memmap-fonts"]
version = "0.45.0"
[dependencies.schemars]
features = ["indexmap2"]
version = "1.0"
[dependencies.seahash]
version = "4.1"
[dependencies.semver]
features = ["serde"]
version = "1.0"
[dependencies.serde]
features = ["derive", "rc"]
version = "1.0.221"
[dependencies.serde_json]
features = ["preserve_order", "raw_value"]
version = "1.0.144"
[dependencies.slotmap]
version = "1.0.6"
[dependencies.smallvec]
features = ["union"]
version = "1.6"
[dependencies.smol]
version = "2.0"
[dependencies.spin]
version = "0.10.0"
[dependencies.stacksafe]
version = "0.1"
[dependencies.strum]
features = ["derive"]
version = "0.27.2"
[dependencies.sum_tree]
package = "gpui_sum_tree"
version = "0.2.2"
[dependencies.taffy]
version = "=0.9.0"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.usvg]
default-features = false
version = "0.45.0"
[dependencies.util]
package = "gpui_util"
version = "0.2.2"
[dependencies.util_macros]
package = "gpui_util_macros"
version = "0.2.2"
[dependencies.uuid]
features = ["v4", "v5", "v7", "serde"]
version = "1.1.2"
[dependencies.waker-fn]
version = "1.2.0"
[dev-dependencies.backtrace]
version = "0.3"
[dev-dependencies.collections]
features = ["test-support"]
package = "gpui_collections"
version = "0.2.2"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.http_client]
features = ["test-support"]
package = "gpui_http_client"
version = "0.2.2"
[dev-dependencies.lyon]
features = ["extra"]
version = "1.0"
[dev-dependencies.pretty_assertions]
features = ["unstable"]
version = "1.3.0"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.unicode-segmentation]
version = "1.10"
[dev-dependencies.util]
features = ["test-support"]
package = "gpui_util"
version = "0.2.2"
[[example]]
name = "animation"
path = "examples/animation.rs"
[[example]]
name = "data_table"
path = "examples/data_table.rs"
[[example]]
name = "drag_drop"
path = "examples/drag_drop.rs"
[[example]]
name = "focus_visible"
path = "examples/focus_visible.rs"
[[example]]
name = "gif_viewer"
path = "examples/gif_viewer.rs"
[[example]]
name = "gradient"
path = "examples/gradient.rs"
[[example]]
name = "grid_layout"
path = "examples/grid_layout.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "image_loading"
path = "examples/image_loading.rs"
[[example]]
name = "input"
path = "examples/input.rs"
[[example]]
name = "layer_shell"
path = "examples/layer_shell.rs"
[[example]]
name = "on_window_close_quit"
path = "examples/on_window_close_quit.rs"
[[example]]
name = "opacity"
path = "examples/opacity.rs"
[[example]]
name = "painting"
path = "examples/painting.rs"
[[example]]
name = "paths_bench"
path = "examples/paths_bench.rs"
[[example]]
name = "pattern"
path = "examples/pattern.rs"
[[example]]
name = "scrollable"
path = "examples/scrollable.rs"
[[example]]
name = "set_menus"
path = "examples/set_menus.rs"
[[example]]
name = "shadow"
path = "examples/shadow.rs"
[[example]]
name = "svg"
path = "examples/svg/svg.rs"
[[example]]
name = "tab_stop"
path = "examples/tab_stop.rs"
[[example]]
name = "text"
path = "examples/text.rs"
[[example]]
name = "text_layout"
path = "examples/text_layout.rs"
[[example]]
name = "text_wrapper"
path = "examples/text_wrapper.rs"
[[example]]
name = "tree"
path = "examples/tree.rs"
[[example]]
name = "uniform_list"
path = "examples/uniform_list.rs"
[[example]]
name = "window"
path = "examples/window.rs"
[[example]]
name = "window_positioning"
path = "examples/window_positioning.rs"
[[example]]
name = "window_shadow"
path = "examples/window_shadow.rs"
[features]
default = ["font-kit", "wayland", "x11", "windows-manifest"]
inspector = ["gpui_macros/inspector"]
leak-detection = ["backtrace"]
macos-blade = ["blade-graphics", "blade-macros", "blade-util", "bytemuck", "objc2", "objc2-metal"]
runtime_shaders = []
screen-capture = ["scap"]
test-support = ["leak-detection", "collections/test-support", "util/test-support", "http_client/test-support", "wayland", "x11"]
wayland = ["bitflags", "blade-graphics", "blade-macros", "blade-util", "bytemuck", "ashpd/wayland", "cosmic-text", "font-kit", "calloop-wayland-source", "wayland-backend", "wayland-client", "wayland-cursor", "wayland-protocols", "wayland-protocols-plasma", "wayland-protocols-wlr", "filedescriptor", "xkbcommon", "open"]
windows-manifest = []
x11 = ["blade-graphics", "blade-macros", "blade-util", "bytemuck", "ashpd", "cosmic-text", "font-kit", "as-raw-xcb-connection", "x11rb", "xkbcommon", "xim", "x11-clipboard", "filedescriptor", "open", "scap?/x11"]
[lib]
doctest = false
name = "gpui"
path = "src/gpui.rs"
[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
[package]
authors = ["Nathan Sobo <nathan@zed.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["gui"]
description = "A community fork of Zed's GPU-accelerated UI framework"
edition = "2024"
homepage = "https://gpui-ce.github.io/"
keywords = ["desktop", "gui", "immediate"]
license = "Apache-2.0"
name = "gpui-ce"
publish = true
readme = "README.md"
repository = "https://github.com/gpui-ce/gpui-ce"
version = "0.3.3"
[profile.dev]
codegen-units = 16
incremental = false
split-debuginfo = "unpacked"
[profile.dev.build-override]
codegen-units = 16
[profile.dev.package.proc-macro2]
opt-level = 3
[profile.dev.package.quote]
opt-level = 3
[profile.dev.package.resvg]
opt-level = 3
[profile.dev.package.syn]
opt-level = 3
[profile.dev.package.taffy]
opt-level = 3
[profile.release]
codegen-units = 1
debug = 1
lto = "thin"
[profile.release-fast]
codegen-units = 16
debug = 2
inherits = "release"
lto = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.build-dependencies.naga]
features = ["wgsl-in"]
version = "25.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.as-raw-xcb-connection]
optional = true
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.ashpd]
default-features = false
features = ["async-std"]
optional = true
version = "0.11"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.blade-graphics]
optional = true
version = "0.7.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.blade-macros]
optional = true
version = "0.3.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.blade-util]
optional = true
version = "0.3.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.bytemuck]
optional = true
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop]
version = "0.14.3"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop-wayland-source]
optional = true
version = "0.4.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.cosmic-text]
optional = true
version = "0.14.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.filedescriptor]
optional = true
version = "0.8.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.flume]
version = "0.11"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.font-kit]
features = ["source-fontconfig-dlopen"]
optional = true
package = "zed-font-kit"
version = "0.14.1-zed"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.oo7]
default-features = false
features = ["async-std", "native_crypto"]
version = "0.5.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.open]
optional = true
version = "5.2.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-backend]
features = ["client_system", "dlopen"]
optional = true
version = "0.3.3"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-client]
optional = true
version = "0.31.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-cursor]
optional = true
version = "0.31.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols]
features = ["client", "staging", "unstable"]
optional = true
version = "0.31.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-plasma]
features = ["client"]
optional = true
version = "0.2.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-wlr]
features = ["client"]
optional = true
version = "0.3.9"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11-clipboard]
optional = true
version = "0.9.3"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11rb]
features = ["allow-unsafe-code", "xkb", "randr", "xinput", "cursor", "resource_manager", "sync"]
optional = true
version = "0.13.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xim]
features = ["x11rb-xcb", "x11rb-client"]
optional = true
package = "zed-xim"
version = "0.4.0-zed"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xkbcommon]
features = ["wayland", "x11"]
optional = true
version = "0.8.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))'.dependencies.pathfinder_geometry]
version = "0.5"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "windows"))'.dependencies.scap]
default-features = false
optional = true
package = "zed-scap"
version = "0.0.8-zed"
[target.'cfg(target_os = "macos")'.build-dependencies.bindgen]
version = "0.71"
[target.'cfg(target_os = "macos")'.build-dependencies.cbindgen]
default-features = false
version = "0.28.0"
[target.'cfg(target_os = "macos")'.build-dependencies.naga]
features = ["wgsl-in"]
version = "25.0"
[target.'cfg(target_os = "macos")'.dependencies.block]
version = "0.1"
[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "=0.26.0"
[target.'cfg(target_os = "macos")'.dependencies.cocoa-foundation]
version = "=0.2.0"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "=0.10.0"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation-sys]
version = "0.8.6"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.24"
[target.'cfg(target_os = "macos")'.dependencies.core-text]
version = "21"
[target.'cfg(target_os = "macos")'.dependencies.core-video]
features = ["metal"]
version = "0.4.3"
[target.'cfg(target_os = "macos")'.dependencies.flume]
version = "0.11"
[target.'cfg(target_os = "macos")'.dependencies.font-kit]
optional = true
package = "zed-font-kit"
version = "0.14.1-zed"
[target.'cfg(target_os = "macos")'.dependencies.foreign-types]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.media]
package = "gpui_media"
version = "0.2.2"
[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.29"
[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
optional = true
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
optional = true
version = "0.3"
[target.'cfg(target_os = "windows")'.build-dependencies.embed-resource]
version = "3.0"
[target.'cfg(target_os = "windows")'.build-dependencies.windows-registry]
version = "0.5"
[target.'cfg(target_os = "windows")'.dependencies.flume]
version = "0.11"
[target.'cfg(target_os = "windows")'.dependencies.rand]
version = "0.9"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Foundation_Numerics", "Storage_Search", "Storage_Streams", "System_Threading", "UI_ViewManagement", "Wdk_System_SystemServices", "Win32_Globalization", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D11", "Win32_Graphics_Direct3D_Fxc", "Win32_Graphics_DirectComposition", "Win32_Graphics_DirectWrite", "Win32_Graphics_Dwm", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Gdi", "Win32_Graphics_Imaging", "Win32_Graphics_Hlsl", "Win32_Networking_WinSock", "Win32_Security", "Win32_Security_Credentials", "Win32_Security_Cryptography", "Win32_Storage_FileSystem", "Win32_System_Com", "Win32_System_Com_StructuredStorage", "Win32_System_Console", "Win32_System_DataExchange", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_System_Memory", "Win32_System_Ole", "Win32_System_Performance", "Win32_System_Pipes", "Win32_System_SystemInformation", "Win32_System_SystemServices", "Win32_System_Threading", "Win32_System_Variant", "Win32_System_WinRT", "Win32_UI_Controls", "Win32_UI_HiDpi", "Win32_UI_Input_Ime", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_Shell", "Win32_UI_Shell_Common", "Win32_UI_Shell_PropertiesSystem", "Win32_UI_WindowsAndMessaging"]
version = "0.61"
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.61"
[target.'cfg(target_os = "windows")'.dependencies.windows-numerics]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-registry]
version = "0.5"
[[test]]
name = "action_macros"
path = "tests/action_macros.rs"