- AGENTS.md adapted from alkcall (via alktty's pattern) for the tunnel protocol crate: substrate-agnostic conventions, two-pump contract, no-forced-binding requirement, alkcall 0.4.0 dependency, wasm-clean default crate, ALPN naming - .opencode/agents/implementation-specialist.md conventions section adapted from alkcall's call-protocol rules to tunnel-crate rules (mirroring alktty's adaptation) - docs/sdd_process.md package reference fixed to alktunnels - Cargo.toml scaffold: wasm-clean tokio subset, alkcall 0.4.0 - LICENSE-MIT / LICENSE-APACHE copied from alktty - src/lib.rs protocol-only stub; docs/architecture/ lands in Phase 1 Verification: cargo test (0 tests, ok), cargo clippy --all-targets -- -D warnings, cargo fmt --check, cargo clippy --target wasm32-unknown-unknown -- -D warnings — all clean
32 lines
997 B
TOML
32 lines
997 B
TOML
[package]
|
|
name = "alktunnels"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.85"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Arbitrary tunnel protocol: bidirectional TCP, UDP, and unix-socket tunnels over alkcall channels. Producer/consumer protocol crate."
|
|
repository = "https://git.alk.dev/alkdev/alktunnels"
|
|
readme = "README.md"
|
|
keywords = ["tunnel", "proxy", "channels", "alkcall", "network"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
exclude = [".opencode/", "AGENTS.md", "docs/reviews/", "docs/research/", "docs/plans/", "docs/sdd_process.md"]
|
|
|
|
[lib]
|
|
name = "alktunnels"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dependencies]
|
|
alkcall = "0.4.0"
|
|
tokio = { version = "1", default-features = false, features = ["rt", "sync", "io-util", "macros", "time"] }
|
|
bytes = "1"
|
|
futures = "0.3"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
async-trait = "0.1"
|
|
tracing = "0.1"
|
|
thiserror = "2"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["full", "test-util", "macros"] } |