[package]
edition = "2021"
rust-version = "1.82"
name = "retach"
version = "0.10.0"
build = false
exclude = ["docs/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistent terminal sessions with native scrollback passthrough"
homepage = "https://github.com/gHexaByte/retach"
readme = "README.md"
keywords = [
"terminal",
"terminal-emulator",
"multiplexer",
"tmux",
"vte",
]
categories = [
"command-line-utilities",
"emulators",
]
license = "BSD-2-Clause"
repository = "https://github.com/gHexaByte/retach"
[package.metadata.docs.rs]
no-default-features = true
[features]
cli = [
"clap",
"tokio",
"portable-pty",
"nix",
"anyhow",
"thiserror",
"tracing",
"tracing-subscriber",
"terminal_size",
"bincode",
"serde",
]
default = ["cli"]
tracing = ["dep:tracing"]
[lib]
name = "retach"
path = "src/lib.rs"
[[bin]]
name = "retach"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "inherent_api"
path = "tests/inherent_api.rs"
[[test]]
name = "library_api"
path = "tests/library_api.rs"
[[test]]
name = "pty_output"
path = "tests/pty_output.rs"
required-features = ["cli"]
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.bincode]
version = "1"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.nix]
version = "0.29"
features = [
"term",
"signal",
"user",
"fs",
]
optional = true
[dependencies.portable-pty]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.terminal_size]
version = "0.4"
optional = true
[dependencies.thiserror]
version = "2"
optional = true
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
"sync",
"signal",
]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.unicode-width]
version = "0.2"
[dependencies.vte]
version = "0.13"
[dev-dependencies.tempfile]
version = "3"