deps: the alkcall substrate pin + the batch-1 module skeleton

- Cargo.toml: alkcall = "0.8.0" (convention 11 — pinned, first
  consumption of the 0.8.0 surface), serde/serde_json, bytes, and
  the std-only futures subset (BoxFuture seam shape). tokio's
  wasm-clean subset and the empty local/composed features unchanged.
- lib.rs: the six skeleton modules per overview.md §Module Map
  (params, wire, producer, consumer, egress, error) — stub files
  with module docs naming their filling tasks; no re-exports yet
  (each implementation task adds its own).

Verified: cargo test (76 tests), clippy --all-targets -D warnings,
fmt --check, cargo doc --no-deps, both wasm checks
(check + clippy on wasm32-unknown-unknown), and the dep-graph
spot-checks (no mio/socket2/tokio::net in the default normal graph;
normal tokio features = bytes/io-util/macros/rt/sync/time only).
alkcall 0.8.0 from crates.io confirmed wasm-clean via probe build
before wiring.

Task: tasks/implementation/core-crate-deps.md (completed)
This commit is contained in:
glm-5.3-flash committed 2026-09-23 14:38:39 +00:00
1 parent a2483e4a84
commit ce8148d711
9 files changed
+105 -11

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
//! The consumer half: the channels-native session types (CONNECT /
//! ASSOCIATE / the BIND reply#2 reader) and teardown ownership.
//!
//! Stub: filled by the `implementation/core-consumer-*` tasks
//! (CONNECT first).
+6
View File
@@ -0,0 +1,6 @@
//! The egress/accept seam types: the `DialFn` / `EgressFactory` /
//! `BindAcceptFactory` contracts (function-not-trait, ownership rides
//! the handle — ADR-004); the inversion point where no substrate type
//! is ever named.
//!
//! Stub: filled by the `implementation/core-seam-types` task.
+3
View File
@@ -0,0 +1,3 @@
//! `SocksError` + the typed open-error surface (alkcall ADR-049 §4).
//!
//! Stub: filled by the `implementation/core-params-errors` task.
+7
View File
@@ -21,3 +21,10 @@
#![forbid(unsafe_code)]
pub mod rfc1928;
pub mod consumer;
pub mod egress;
pub mod error;
pub mod params;
pub mod producer;
pub mod wire;
+4
View File
@@ -0,0 +1,4 @@
//! The trivial open-op params schema + the scope constants
//! (`SOCKS5_OPEN_SCOPE`, `SOCKS5_BIND_SCOPE`) — ADR-001/ADR-006.
//!
//! Stub: filled by the `implementation/core-params-errors` task.
+6
View File
@@ -0,0 +1,6 @@
//! The producer half: the open op spec (scope-gated), the
//! session-gate establisher, the command-dispatch pump handler
//! (typestate driving + the three seams), teardown.
//!
//! Stub: filled by the `implementation/core-producer-*` tasks
//! (CONNECT first).
+5
View File
@@ -0,0 +1,5 @@
//! The ASSOCIATE datagram frame codec: the first-party
//! `[len: u16 BE][addr + data]` framing (ADR-003), applied exactly
//! once, by this layer.
//!
//! Stub: filled by the `implementation/core-wire-codec` task.