Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

1.8 KB
Raw Blame
[package]
authors = ["Wez Furlong"]
name = "wezterm-cell"
version = "0.1.0"
edition = "2024"
repository = "https://github.com/wezterm/wezterm"
description = "Model a Cell in a Terminal display"
license = "MIT"
documentation = "https://docs.rs/wezterm-cell"
keywords = ["terminal", "cell"]

[dependencies]
finl_unicode.workspace = true
image = {workspace=true, optional=true}
log = {workspace = true, optional=true}
ordered-float = {workspace = true, optional=true}
sha2 = {workspace=true, optional=true}
serde = {workspace=true, optional=true}
serde_bytes = {workspace=true, optional=true}
thiserror = {workspace=true, optional=true}
wezterm-blob-leases = {workspace = true, optional=true}
wezterm-char-props.workspace = true
wezterm-color-types.workspace = true
wezterm-escape-parser.workspace = true
wezterm-dynamic.workspace = true

# sha2 only takes its aarch64 hardware-SHA path behind the `asm` feature
# (x86 enables hardware unconditionally; the asymmetry is sha2's, not ours).
# Scoped to aarch64 so `sha2-asm` (a C crate) never enters the wasm sentinel
# or cross-build dependency graphs. The aarch64 implementation is actually
# pure-Rust intrinsics with runtime detection; sha2-asm just rides along as
# the feature's carrier. Not on MSVC: sha2-asm's .S file is handed to cl.exe,
# which cannot assemble it, so Windows on arm64 takes the software path.
[target.'cfg(all(target_arch = "aarch64", not(target_env = "msvc")))'.dependencies]
sha2 = {workspace=true, optional=true, features=["asm"]}

[features]
std = ["serde/std", "wezterm-char-props/std", "wezterm-color-types/std", "wezterm-escape-parser/std", "wezterm-dynamic/std", "finl_unicode/std"]
use_serde = ["dep:serde", "dep:serde_bytes", "wezterm-color-types/use_serde"]
use_image = ["dep:image", "dep:wezterm-blob-leases", "dep:log", "dep:ordered-float", "dep:sha2", "dep:thiserror"]

[dev-dependencies]