Skip to main content

zellij_utils/
lib.rs

1pub mod cli;
2pub mod client_server_contract;
3pub mod consts;
4pub mod data;
5pub mod envs;
6pub mod errors;
7pub mod home;
8#[cfg(not(windows))]
9mod home_unix;
10#[cfg(windows)]
11mod home_windows;
12pub mod input;
13pub mod kdl;
14pub mod nested_session_contract;
15pub mod pane_size;
16pub mod plugin_api;
17pub mod position;
18pub mod session_serialization;
19pub mod setup;
20pub mod shared;
21
22// The following modules can't be used when targeting wasm
23#[cfg(not(target_family = "wasm"))]
24pub mod channels; // Requires tokio
25#[cfg(not(target_family = "wasm"))]
26pub mod common_path;
27#[cfg(not(target_family = "wasm"))]
28pub mod downloader; // Requires tokio
29#[cfg(not(target_family = "wasm"))]
30pub mod ipc; // Requires interprocess
31#[cfg(not(target_family = "wasm"))]
32pub mod logging; // Requires log4rs
33#[cfg(not(target_family = "wasm"))]
34pub mod nested_session;
35#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
36pub mod remote_session_tokens;
37#[cfg(not(target_family = "wasm"))]
38pub mod sessions;
39#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
40pub mod web_authentication_tokens;
41#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
42pub mod web_server_commands;
43#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
44pub mod web_server_contract;
45
46// TODO(hartan): Remove this re-export for the next minor release.
47pub use ::prost;
48
49// Vendored libraries
50pub mod vendored;