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 pane_size;
15pub mod plugin_api;
16pub mod position;
17pub mod session_serialization;
18pub mod setup;
19pub mod shared;
20
21// The following modules can't be used when targeting wasm
22#[cfg(not(target_family = "wasm"))]
23pub mod channels; // Requires tokio
24#[cfg(not(target_family = "wasm"))]
25pub mod common_path;
26#[cfg(not(target_family = "wasm"))]
27pub mod downloader; // Requires tokio
28#[cfg(not(target_family = "wasm"))]
29pub mod ipc; // Requires interprocess
30#[cfg(not(target_family = "wasm"))]
31pub mod logging; // Requires log4rs
32#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
33pub mod remote_session_tokens;
34#[cfg(not(target_family = "wasm"))]
35pub mod sessions;
36#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
37pub mod web_authentication_tokens;
38#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
39pub mod web_server_commands;
40#[cfg(all(not(target_family = "wasm"), feature = "web_server_capability"))]
41pub mod web_server_contract;
42
43// TODO(hartan): Remove this re-export for the next minor release.
44pub use ::prost;
45
46// Vendored libraries
47pub mod vendored;