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