mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-13 05:42:59 +00:00
b084d53f8e
This PR extracts the `ExtensionIndexedDocsProvider` implementation to the `indexed_docs` crate. To achieve this, we introduce a new `Extension` trait that provides an abstracted interface for calling an extension. This trait resides in the `extension` crate, which has minimal dependencies and can be depended on by other crates, like `indexed_docs`. We're then able to implement the `ExtensionIndexedDocsProvider` without having any knowledge of the Wasm-specific internals of the extension system. Release Notes: - N/A
70 lines
1.8 KiB
TOML
70 lines
1.8 KiB
TOML
[package]
|
|
name = "extensions_ui"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/extensions_ui.rs"
|
|
|
|
[features]
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
assistant_slash_command.workspace = true
|
|
async-trait.workspace = true
|
|
client.workspace = true
|
|
collections.workspace = true
|
|
context_servers.workspace = true
|
|
db.workspace = true
|
|
editor.workspace = true
|
|
extension.workspace = true
|
|
extension_host.workspace = true
|
|
fs.workspace = true
|
|
futures.workspace = true
|
|
fuzzy.workspace = true
|
|
gpui.workspace = true
|
|
indexed_docs.workspace = true
|
|
language.workspace = true
|
|
lsp.workspace = true
|
|
num-format.workspace = true
|
|
picker.workspace = true
|
|
project.workspace = true
|
|
release_channel.workspace = true
|
|
semantic_version.workspace = true
|
|
serde.workspace = true
|
|
settings.workspace = true
|
|
smallvec.workspace = true
|
|
snippet_provider.workspace = true
|
|
theme.workspace = true
|
|
theme_selector.workspace = true
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
vim.workspace = true
|
|
wasmtime-wasi.workspace = true
|
|
workspace.workspace = true
|
|
|
|
[dev-dependencies]
|
|
async-compression.workspace = true
|
|
async-tar.workspace = true
|
|
ctor.workspace = true
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
env_logger.workspace = true
|
|
extension_host = {workspace = true, features = ["test-support"] }
|
|
fs = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
http_client.workspace = true
|
|
indexed_docs.workspace = true
|
|
language = { workspace = true, features = ["test-support"] }
|
|
lsp.workspace = true
|
|
node_runtime.workspace = true
|
|
parking_lot.workspace = true
|
|
project = { workspace = true, features = ["test-support"] }
|
|
reqwest_client.workspace = true
|
|
serde_json.workspace = true
|
|
workspace = { workspace = true, features = ["test-support"] }
|