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.

5.4 KB
Raw Blame
[package]
name = "wezterm-gui"
version = "0.1.0"
authors = ["Wez Furlong <[email protected]>"]
edition = "2018"
build = "build.rs"
resolver = "2"
publish = false
autobins = false

# The crate keeps its upstream name so patches still merge; only the produced
# executable is branded.
[[bin]]
name = "thinkterm-gui"
path = "src/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
cargo-clippy = []
default = ["vendored-fonts", "wayland", "tailnet"]
# Joining a tailnet with no Tailscale app installed (thinkterm-tailnet).
tailnet = ["dep:thinkterm-tailnet"]
wayland = ["window/wayland"]
distro-defaults = ["config/distro-defaults"]
vendor-nerd-font-symbols-font = ["wezterm-font/vendor-nerd-font-symbols"]
vendor-jetbrains-font = ["wezterm-font/vendor-jetbrains"]
vendor-roboto-font = ["wezterm-font/vendor-roboto"]
vendor-noto-emoji-font = ["wezterm-font/vendor-noto-emoji"]
vendored-fonts = [
  "vendor-nerd-font-symbols-font",
  "vendor-jetbrains-font",
  "vendor-roboto-font",
  "vendor-noto-emoji-font"
]
dhat-heap = ["dhat"]    # if you are doing heap profiling
dhat-ad-hoc = ["dhat"]  # if you are doing ad hoc profiling

[build-dependencies]
anyhow.workspace = true
phf_codegen.workspace = true
serde_json.workspace = true

[target.'cfg(windows)'.build-dependencies]
cc.workspace = true
embed-resource.workspace = true

[dependencies]
thinkterm-reverse-access = { path = "../thinkterm-reverse-access" }
thinkterm-tailnet = { workspace = true, optional = true }
thinkterm-import-herdr.workspace = true
thinkterm-import.workspace = true
anyhow.workspace = true
base64.workspace = true
bitflags.workspace = true
bytemuck.workspace = true
chrono.workspace = true
clap.workspace = true
codec.workspace = true
colorgrad.workspace = true
config.workspace = true
dhat = {workspace=true, optional=true}
dirs-next.workspace = true
downcast-rs.workspace = true
emojis.workspace = true
env-bootstrap.workspace = true
euclid.workspace = true
fastrand.workspace = true
filedescriptor.workspace = true
finl_unicode.workspace = true
fluent-bundle.workspace = true
fluent-langneg.workspace = true
thinkterm-i18n.workspace = true
frecency.workspace = true
futures.workspace = true
hdrhistogram.workspace = true
hostname.workspace = true
thinkterm-file-index.workspace = true
image.workspace = true
lazy_static.workspace = true
lfucache.workspace = true
libc.workspace = true
log.workspace = true
luahelper.workspace = true
metrics.workspace = true
mlua = {workspace=true, features=["send", "serialize"]}
mux-lua.workspace = true
mux.workspace = true
nucleo-matcher.workspace = true
openssl.workspace = true
ordered-float.workspace = true
parking_lot.workspace = true
qrcode.workspace = true
phf.workspace = true
portable-pty = { workspace=true, features = ["serde_support"]}
pulldown-cmark.workspace = true
promise.workspace = true
rangeset.workspace = true
ratelim.workspace = true
rayon.workspace = true
regex.workspace = true
reqwest = { workspace = true, features = ["blocking", "socks"] }
# Text, for the labels in Mermaid diagrams.
resvg = { workspace = true, features = ["text", "system-fonts", "memmap-fonts"] }
merman.workspace = true
lru.workspace = true
merman-render.workspace = true
ttf-parser.workspace = true
semver.workspace = true
serde = {workspace=true, features = ["rc", "derive"]}
serde_json.workspace = true
sha2.workspace = true
shlex.workspace = true
smol.workspace = true
tabout.workspace = true
tempfile.workspace = true
terminfo.workspace = true
sys-locale.workspace = true
termwiz-funcs.workspace = true
termwiz.workspace = true
textwrap.workspace = true
thinkterm-proto.workspace = true
thinkterm-render = { workspace = true, features = ["glium", "wgpu"] }
thinkterm-update.workspace = true
thiserror.workspace = true
tiny-skia.workspace = true
thinkterm-syntax = { path = "../thinkterm-syntax" }
thinkterm-core.workspace = true
thinkterm-tab-icons.workspace = true
thinkterm-plugin-channel = { workspace = true, features = ["native"] }
thinkterm-plugin-panel.workspace = true
thinkterm-snippets = { workspace = true, features = ["native"] }
trash.workspace = true
umask.workspace = true
unicode-normalization.workspace = true
unicode-linebreak = "0.1"
unicode-segmentation.workspace = true
unicode-width.workspace = true
unic-langid.workspace = true
uuid = { workspace = true, features = ["v4"] }
percent-encoding.workspace = true
url-funcs.workspace = true
url.workspace = true
walkdir.workspace = true
wezterm-bidi.workspace = true
wezterm-blob-leases = { workspace=true, features=["simple_tempdir"] }
wezterm-client.workspace = true
wezterm-dynamic.workspace = true
wezterm-font.workspace = true
wezterm-gui-subcommands.workspace = true
wezterm-mux-server-impl.workspace = true
wezterm-open-url.workspace = true
wezterm-ssh.workspace = true
wezterm-term.workspace = true
wezterm-toast-notification.workspace = true
wgpu.workspace = true
window-funcs.workspace = true
window.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]

[target.'cfg(unix)'.dependencies]
signal-hook.workspace = true

[target.'cfg(windows)'.dependencies]
shared_library.workspace = true
winapi = { workspace=true, features = [
    "winuser",
    "winbase",
    "winnt",
    "consoleapi",
    "handleapi",
    "fileapi",
    "namedpipeapi",
    "processthreadsapi",
    "psapi",
    "synchapi",
    "winsock2",
]}
windows = { workspace=true, features = [
    "Win32_UI_Shell",
]}
winreg.workspace = true

[dev-dependencies]
benchmarking.workspace = true
env_logger.workspace = true
k9.workspace = true