Reflect what actually landed since the 2026-08-14 draft: - alkcall 0.1.1: alk/tty + alk/channels ALPN rename (no public API change) - alkcall Identity.resources now HashMap<String, Vec<String>> - alkcall OwnershipProvider::owns gained action arg; OwnershipStore::record lost it - alktype 0.2.0: kind-based BAST format (schema doc artifact, not a runtime dep) Fold alknet-tty-local into the single crate as the feature-gated local module (pty.rs + pipe.rs + backend.rs) — the cyclic-dep workaround it required in the alknet mono-repo doesn't apply to a single crate. Add Decision 7 (BAST schema as documentation artifact), Phase 0 (scaffold hygiene), Phase 4 BAST-schema step, OQ-6, and a BAST-drift risk with a cheap test mitigation. Cargo.toml: bump alkcall 0.1.0 -> 0.1.1; add futures = 0.3 as a direct dep so the BoxFuture alias doesn't ride on a transitive.
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[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"
|