Files
gpui-native-kit/crates/layout/Cargo.toml
T

37 lines
985 B
TOML

[package]
name = "gpui-native-layout"
version = "0.1.0"
edition = "2024"
description = "Application window layout: a titlebar over a panel row, one cargo feature each"
[dependencies]
gpui = { workspace = true }
gpui-native-theme = { workspace = true }
gpui-native-utils = { workspace = true }
gpui-native-core = { workspace = true, optional = true }
gpui-native-icons = { workspace = true, optional = true }
[dev-dependencies]
gpui = { workspace = true, features = ["test-support"] }
[features]
default = ["full"]
full = [
"alert",
"panel",
"resize_handle",
"resizable",
"shell",
"titlebar",
"toast",
"window_controls",
]
panel = ["resizable"]
resize_handle = []
resizable = ["resize_handle"]
shell = ["titlebar", "window_controls"]
titlebar = ["window_controls"]
toast = ["shell", "gpui-native-core/toast", "gpui-native-core/button"]
alert = ["shell", "gpui-native-core/alert", "gpui-native-core/button"]
window_controls = ["dep:gpui-native-icons"]