mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 21:32:40 +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
37 lines
759 B
TOML
37 lines
759 B
TOML
[package]
|
|
name = "indexed_docs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/indexed_docs.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
cargo_metadata.workspace = true
|
|
collections.workspace = true
|
|
derive_more.workspace = true
|
|
extension.workspace = true
|
|
fs.workspace = true
|
|
futures.workspace = true
|
|
fuzzy.workspace = true
|
|
gpui.workspace = true
|
|
heed.workspace = true
|
|
html_to_markdown.workspace = true
|
|
http_client.workspace = true
|
|
indexmap.workspace = true
|
|
parking_lot.workspace = true
|
|
paths.workspace = true
|
|
serde.workspace = true
|
|
strum.workspace = true
|
|
util.workspace = true
|
|
|
|
[dev-dependencies]
|
|
indoc.workspace = true
|
|
pretty_assertions.workspace = true
|