Move plugins to feature-gate (#2599)

This PR:
- Reduces our dependency count for a release build by 20%
- Reduces our release compile time by about 30s (out of ~5 minutes)
This commit is contained in:
Piotr Osiewicz 2023-06-12 21:04:09 +02:00 committed by GitHub
parent db5bb4ec03
commit 3d02f7ce5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -49,7 +49,7 @@ lsp_log = { path = "../lsp_log" }
node_runtime = { path = "../node_runtime" } node_runtime = { path = "../node_runtime" }
ai = { path = "../ai" } ai = { path = "../ai" }
outline = { path = "../outline" } outline = { path = "../outline" }
plugin_runtime = { path = "../plugin_runtime" } plugin_runtime = { path = "../plugin_runtime",optional = true }
project = { path = "../project" } project = { path = "../project" }
project_panel = { path = "../project_panel" } project_panel = { path = "../project_panel" }
project_symbols = { path = "../project_symbols" } project_symbols = { path = "../project_symbols" }

View file

@ -10,6 +10,7 @@ mod elixir;
mod go; mod go;
mod html; mod html;
mod json; mod json;
#[cfg(feature = "plugin_runtime")]
mod language_plugin; mod language_plugin;
mod lua; mod lua;
mod python; mod python;