zed/crates/plugin_runtime
2022-07-07 15:11:51 +02:00
..
plugin Clean up impl a bit 2022-07-07 15:11:51 +02:00
src Clean up impl a bit 2022-07-07 15:11:51 +02:00
build.rs Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00
Cargo.toml Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00
heck.txt Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00
README.md Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00

Zed's Plugin Runner

This crate contains a fairly generic interface through which plugins may be added to extend the editor. Currently the intention of this plugin runtime is language server definitions.

Anything that implements the Runtime trait may be used as a plugin. Plugin interfaces are declared by implementing the Interface trait.

Wasm plugins can be run through wasmtime. We plan to add wasi support eventually. We also plan to add macros to generate bindings between Rust plugins compiled to Wasm and the host runtime.