Cargo Features

[dependencies]
adabraka-gpui = { version = "0.5.1", default-features = false, features = ["inspector", "leak-detection", "macos-blade", "runtime_shaders", "screen-capture", "wayland", "windows-manifest", "x11", "test-support"] }
default = font-kit, wayland, windows-manifest, x11

These default features are set whenever adabraka-gpui is added without default-features = false somewhere in the dependency tree.

inspector

Enables inspector of adabraka-gpui-macros

Affects div::DivInspectorState.base_style, inspector::InspectorElementId.path, inspector::InspectorElementId.instance_id, inspector::inspector_reflection

leak-detection test-support? = backtrace
macos-blade = blade-graphics, blade-macros, blade-util, bytemuck, objc2, objc2-metal
runtime_shaders
screen-capture = scap

Affects platform::LinuxClient.is_screen_capture_supported, platform::LinuxClient.screen_capture_sources

wayland default test-support? = blade-graphics, blade-macros, blade-util, bytemuck, calloop-wayland-source, cosmic-text, filedescriptor, font-kit, open, wayland-backend, wayland-client, wayland-cursor, wayland-protocols, wayland-protocols-plasma, xkbcommon

Enables wayland of ashpd ^0.11

Affects global_hotkey::wayland, platform::LinuxClient.window_identifier

windows-manifest default
x11 default test-support? = as-raw-xcb-connection, ashpd, blade-graphics, blade-macros, blade-util, bytemuck, cosmic-text, filedescriptor, font-kit, open, x11-clipboard, x11rb, xim, xkbcommon

Enables x11 of optional zed-scap

Affects global_hotkey::x11, platform::LinuxClient.window_identifier

test-support = leak-detection, rand, wayland, x11

Enables test-support of adabraka_collections, adabraka_http_client, and adabraka_util

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

as-raw-xcb-connection linux freebsd x11
backtrace leak-detection?
calloop-wayland-source linux freebsd wayland

Enables calloop-wayland-source ^0.3.0

objc2 mac macos-blade?
objc2-metal mac macos-blade?
rand test-support?

Enables rand ^0.9

scap linux freebsd win screen-capture?

Enables zed-scap

wayland-backend linux freebsd wayland
wayland-client linux freebsd wayland
wayland-cursor linux freebsd wayland
wayland-protocols linux freebsd wayland

Enables wayland-protocols ^0.31.2

wayland-protocols-plasma linux freebsd wayland

Enables wayland-protocols-plasma ^0.2.0

x11-clipboard linux freebsd x11
x11rb linux freebsd x11
xim linux freebsd x11

Enables zed-xim

ashpd linux freebsd wayland x11

Enables ashpd ^0.11

cosmic-text linux freebsd wayland x11

Enables cosmic-text ^0.14.0

filedescriptor linux freebsd wayland x11
open linux freebsd wayland x11
xkbcommon linux freebsd wayland x11

Enables xkbcommon ^0.8.0

blade-graphics macos-blade? wayland x11

Enables blade-graphics ^0.7.0

blade-macros macos-blade? wayland x11
blade-util macos-blade? wayland x11

Enables blade-util ^0.3.0

bytemuck macos-blade? wayland x11
font-kit mac linux freebsd default wayland x11

Enables zed-font-kit