[package] name = "alktty" version = "0.1.0" edition = "2021" rust-version = "1.85" license = "MIT OR Apache-2.0" description = "Terminal session protocol: wire format, TtyBackend trait, TtyAdapter, and typed consumer client. Producer/consumer protocol crate on top of alkcall channels." repository = "https://git.alk.dev/alkdev/alktty" keywords = ["tty", "terminal", "pty", "channels", "alkcall"] categories = ["network-programming", "asynchronous"] exclude = [".opencode/", "docs/reviews/", "docs/research/", "docs/sdd_process.md", "Cargo.lock"] [lib] name = "alktty" [features] default = [] local = ["dep:portable-pty", "dep:tokio-util"] [dependencies] alkcall = "0.1.1" tokio = { version = "1", features = ["full"] } bytes = "1" futures = "0.3" futures-core = "0.3" tokio-stream = "0.1" serde = { version = "1", features = ["derive"] } serde_json = "1" async-trait = "0.1" tracing = "0.1" thiserror = "2" portable-pty = { version = "0.9", optional = true } tokio-util = { version = "0.7", features = ["io"], optional = true } [target.'cfg(unix)'.dependencies] libc = "0.2" [dev-dependencies] tokio = { version = "1", features = ["full", "test-util", "macros"] } tokio-stream = "0.1" serde_json = "1" tempfile = "3" bytes = "1"