aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-server/src/plugins/plugin_worker.rs
diff options
context:
space:
mode:
authorhar7an <99636919+har7an@users.noreply.github.com>2025-03-23 10:03:42 +0000
committerGitHub <noreply@github.com>2025-03-23 10:03:42 +0000
commit6be8c495bcbdc2aa4fd4d6528b213ca8b6189b34 (patch)
tree5df14ebd014407f087cb8b5d46c4f0f44a5b3908 /zellij-server/src/plugins/plugin_worker.rs
parentbuild: Don't use default features (#4086) (diff)
downloadsl0ppij-6be8c495bcbdc2aa4fd4d6528b213ca8b6189b34.tar.gz
sl0ppij-6be8c495bcbdc2aa4fd4d6528b213ca8b6189b34.tar.xz
sl0ppij-6be8c495bcbdc2aa4fd4d6528b213ca8b6189b34.zip
build: Don't re-export foreign crates in utils (#4087)
* build(utils): Don't use reexported dependency for internal code, but use the dependency directly. * build(client): Don't use re-exports from `utils` but turn `zellij-utils` dependencies into shared workspace dependencies instead and specify those in `Cargo.toml` explicitly. This gives a much better overview of what component in zellij uses which crates. The previous approach hides a lot of this information since it looks like crates are used in a single place where this isn't actually true. * deps(tile): Don't use re-exports from zellij-utils. * build(zellij): Don't use re-exports from zellij-utils. * build(server): Don't use re-exports from zellij-utils. * build(utils): Don't re-export foreign crates. * docs: Update Changelog with PR #4087. * style: Apply rustfmt. * style: Apply rustfmt. * build(e2e): Don't use re-export from zellij-utils. * test: Restore e2e tests. * style: Apply more formatting.
Diffstat (limited to 'zellij-server/src/plugins/plugin_worker.rs')
-rw-r--r--zellij-server/src/plugins/plugin_worker.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/zellij-server/src/plugins/plugin_worker.rs b/zellij-server/src/plugins/plugin_worker.rs
index 635c8f50..30085a3a 100644
--- a/zellij-server/src/plugins/plugin_worker.rs
+++ b/zellij-server/src/plugins/plugin_worker.rs
@@ -2,11 +2,11 @@ use crate::plugins::plugin_map::PluginEnv;
use crate::plugins::zellij_exports::wasi_write_object;
use wasmtime::{Instance, Store};
-use zellij_utils::async_channel::{unbounded, Receiver, Sender};
-use zellij_utils::async_std::task;
+use async_channel::{unbounded, Receiver, Sender};
+use async_std::task;
+use prost::Message;
use zellij_utils::errors::prelude::*;
use zellij_utils::plugin_api::message::ProtobufMessage;
-use zellij_utils::prost::Message;
pub struct RunningWorker {
pub instance: Instance,