[package]
name = "theme2"
version = "0.1.0"
edition = "2021"
publish = false

[features]
default = ["stories"]
importing-themes = []
stories = ["dep:itertools"]
test-support = [
    "gpui/test-support",
    "fs/test-support",
    "settings/test-support"
]

[lib]
path = "src/theme2.rs"
doctest = false

[dependencies]
anyhow.workspace = true
fs = { package = "fs2", path = "../fs2" }
gpui = { package = "gpui2", path = "../gpui2" }
indexmap = "1.6.2"
parking_lot.workspace = true
refineable.workspace = true
schemars.workspace = true
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings = { package = "settings2", path = "../settings2" }
toml.workspace = true
uuid.workspace = true
util = { path = "../util" }
itertools = { version = "0.11.0", optional = true }

[dev-dependencies]
gpui = { package = "gpui2", path = "../gpui2", features = ["test-support"] }
fs = { package = "fs2", path = "../fs2", features = ["test-support"] }
settings = { package = "settings2", path = "../settings2", features = ["test-support"] }
