aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-server/src/os_input_output.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/os_input_output.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/os_input_output.rs')
-rw-r--r--zellij-server/src/os_input_output.rs12
1 files changed, 7 insertions, 5 deletions
diff --git a/zellij-server/src/os_input_output.rs b/zellij-server/src/os_input_output.rs
index 59c63bd6..c6e4de78 100644
--- a/zellij-server/src/os_input_output.rs
+++ b/zellij-server/src/os_input_output.rs
@@ -11,23 +11,25 @@ use nix::{
unistd,
};
+use async_std;
+use interprocess;
+use libc;
+use nix;
+use signal_hook;
use signal_hook::consts::*;
use sysinfo::{ProcessExt, ProcessRefreshKind, System, SystemExt};
+use tempfile::tempfile;
use zellij_utils::{
- async_std, channels,
+ channels,
channels::TrySendError,
data::Palette,
errors::prelude::*,
input::command::{RunCommand, TerminalAction},
- interprocess,
ipc::{
ClientToServerMsg, ExitReason, IpcReceiverWithContext, IpcSenderWithContext,
ServerToClientMsg,
},
- libc, nix,
shared::default_palette,
- signal_hook,
- tempfile::tempfile,
};
use std::{