From 1bedfc90021558cb201695444107afe5bddd2c17 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Wed, 9 Aug 2023 22:26:00 +0200 Subject: feat(plugins): use protocol buffers for serializing across the wasm boundary (#2686) * work * almost done with command protobuffers * done translating command data structures * mid transferring of every command to protobuff command * transferred plugin_command.rs, now moving on to shim.rs * plugin command working with protobufs * protobuffers in update * protobuf event tests * various TODOs and comments * fix zellij-tile * clean up prost deps * remove version mismatch error * fix panic * some cleanups * clean up event protobuffers * clean up command protobuffers * clean up various protobufs * refactor protobufs * update comments * some transformation fixes * use protobufs for workers * style(fmt): rustfmt * style(fmt): rustfmt * chore(build): add protoc * chore(build): authenticate protoc --- zellij-utils/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zellij-utils/Cargo.toml') diff --git a/zellij-utils/Cargo.toml b/zellij-utils/Cargo.toml index 65398c532..3e5e2dfd8 100644 --- a/zellij-utils/Cargo.toml +++ b/zellij-utils/Cargo.toml @@ -42,6 +42,7 @@ shellexpand = "3.0.0" uuid = { version = "0.8.2", features = ["serde", "v4"] } async-channel = "1.8.0" include_dir = "0.7.3" +prost = "0.11.9" #[cfg(not(target_family = "wasm"))] [target.'cfg(not(target_family = "wasm"))'.dependencies] @@ -55,6 +56,8 @@ notify-debouncer-full = "0.1.0" [dev-dependencies] insta = { version = "1.6.0", features = ["backtrace"] } +[build-dependencies] +prost-build = "0.11.9" [features] # If this feature is NOT set (default): -- cgit v1.2.3