The zellij-tile crate acts as the Rust API for developing plugins for Zellij.
To read more about Zellij plugins: https://zellij.dev/documentation/plugins
Interesting things in this libary:
- The [
ZellijPlugin
] trait for implementing plugins combined with theregister_plugin!
macro to register them. - The list of commands representing what a plugin can do.
- The list of
Events
a plugin can subscribe to - The [
ZellijWorker
] trait for implementing background workers combined with theregister_worker!
macro to register them
Full Example and Development Environment
For a working plugin example as well as a development environment, please see: https://github.com/zellij-org/rust-plugin-example