Skip to main content

zellij_utils/plugin_api/
mod.rs

1pub mod action;
2pub mod command;
3pub mod event;
4pub mod file;
5pub mod input_mode;
6pub mod key;
7pub mod message;
8pub mod pane_frame_style;
9pub mod pipe_message;
10pub mod plugin_command;
11pub mod plugin_ids;
12pub mod plugin_permission;
13pub mod resize;
14pub mod style;
15// NOTE: This code is currently out of order.
16// Refer to [the PR introducing this change][1] to learn more about the reasons.
17// TL;DR: When running `cargo release --dry-run` the build-script in zellij-utils is not executed
18//        for unknown reasons, causing compilation to fail. To make a new release possible in the
19//        meantime, we decided to temporarily include the protobuf plugin API definitions
20//        statically.
21//
22// [1]: https://github.com/zellij-org/zellij/pull/2711#issuecomment-1695015818
23//pub mod generated_api {
24//    include!(concat!(env!("OUT_DIR"), "/generated_plugin_api.rs"));
25//}
26pub mod generated_api {
27    include!(concat!(
28        env!("CARGO_MANIFEST_DIR"),
29        "/assets/prost/generated_plugin_api.rs"
30    ));
31}