mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
a2f0accb74
This was broken because of the async hop introduced by should_dismiss. Change that API to instead be syncronous, and require that implementors (of which there is only one) to call dismiss again if they want to.
37 lines
1.4 KiB
TOML
37 lines
1.4 KiB
TOML
[package]
|
|
name = "command_palette2"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
path = "src/command_palette.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
collections = { path = "../collections" }
|
|
editor = { package = "editor2", path = "../editor2" }
|
|
fuzzy = { package = "fuzzy2", path = "../fuzzy2" }
|
|
gpui = { package = "gpui2", path = "../gpui2" }
|
|
picker = { package = "picker2", path = "../picker2" }
|
|
project = { package = "project2", path = "../project2" }
|
|
settings = { package = "settings2", path = "../settings2" }
|
|
ui = { package = "ui2", path = "../ui2" }
|
|
util = { path = "../util" }
|
|
theme = { package = "theme2", path = "../theme2" }
|
|
workspace = { package="workspace2", path = "../workspace2" }
|
|
zed_actions = { package = "zed_actions2", path = "../zed_actions2" }
|
|
anyhow.workspace = true
|
|
serde.workspace = true
|
|
[dev-dependencies]
|
|
gpui = { package = "gpui2", path = "../gpui2", features = ["test-support"] }
|
|
editor = { package = "editor2", path = "../editor2", features = ["test-support"] }
|
|
language = { package="language2", path = "../language2", features = ["test-support"] }
|
|
project = { package="project2", path = "../project2", features = ["test-support"] }
|
|
menu = { package = "menu2", path = "../menu2" }
|
|
go_to_line = { package = "go_to_line2", path = "../go_to_line2" }
|
|
serde_json.workspace = true
|
|
workspace = { package="workspace2", path = "../workspace2", features = ["test-support"] }
|
|
ctor.workspace = true
|
|
env_logger.workspace = true
|