mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
1b05aad30c
This PR extracts the `Story` component into a separate `story` crate so that it can be shared among various crates that define stories. Release Notes: - N/A --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com>
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "theme2"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[features]
|
|
default = []
|
|
importing-themes = []
|
|
stories = ["dep:itertools", "dep:story"]
|
|
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" }
|
|
story = { path = "../story", optional = true }
|
|
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"] }
|