[package]
edition = "2024"
rust-version = "1.85"
name = "tty-web"
version = "0.16.4"
authors = ["Ivan Sitkin <alvinera@yandex.ru>"]
build = false
exclude = [
"demo.gif",
"docs/",
".github/",
".dockerignore",
"Dockerfile",
"Makefile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web-based terminal emulator — opens a real PTY in the browser over WebSocket"
homepage = "https://github.com/Alviner/tty-web"
documentation = "https://alviner.github.io/tty-web"
readme = "README.md"
keywords = [
"terminal",
"pty",
"websocket",
"tty",
"web",
]
categories = [
"command-line-utilities",
"web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/Alviner/tty-web"
[lib]
name = "tty_web"
path = "src/lib.rs"
[[bin]]
name = "tty-web"
path = "src/main.rs"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.mime_guess]
version = "2"
[dependencies.nix]
version = "0.31"
features = [
"term",
"fs",
"signal",
]
[dependencies.rust-embed]
version = "8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true