[package]
name = "ui"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"

[lints]
workspace = true

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

[dependencies]
chrono.workspace = true
component.workspace = true
gpui.workspace = true
icons.workspace = true
itertools.workspace = true
linkme.workspace = true
menu.workspace = true
serde.workspace = true
settings.workspace = true
smallvec.workspace = true
story = { workspace = true, optional = true }
strum.workspace = true
theme.workspace = true
ui_macros.workspace = true
util.workspace = true
workspace-hack.workspace = true

[target.'cfg(windows)'.dependencies]
windows.workspace = true

[features]
default = []
stories = ["dep:story"]

# cargo-machete doesn't understand that linkme is used in the component macro
[package.metadata.cargo-machete]
ignored = ["linkme"]
