Create crates/alknet-tty with Cargo.toml (alknet-core path dep, tokio, bytes, futures-core, tokio-stream, serde, serde_json, async-trait, tracing, thiserror — no portable_pty/bollard/russh/alknet-call per ADR-057), the `local` feature gate (dep wiring deferred to tty/local-feature-reexport), src/lib.rs with the crate doc comment and module declarations, and skeleton modules (wire, control, negotiation, backend, adapter) with doc comments and TODO markers. Add the crate to the workspace members list. cargo check, clippy -D warnings, and fmt --check all pass.
28 lines
758 B
TOML
28 lines
758 B
TOML
[package]
|
|
name = "alknet-tty"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Terminal session protocol handler for the `alknet/tty` ALPN: wire format, TtyBackend trait, and TtyAdapter (ProtocolHandler)"
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "alknet_tty"
|
|
|
|
[features]
|
|
default = []
|
|
# `local` re-exports `alknet_tty_local::LocalTtyBackend`. The
|
|
# `dep:alknet-tty-local` dependency is wired in task `tty/local-feature-reexport`.
|
|
local = []
|
|
|
|
[dependencies]
|
|
alknet-core = { path = "../alknet-core" }
|
|
tokio = { version = "1", features = ["full"] }
|
|
bytes = "1"
|
|
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" |