Skip to main content

Crate net

Crate net 

Source
Expand description

net — hand-rolled transport primitives shared by the mcp crate and agentd’s intel client. One blocking HTTP/1.1 client over any Read + Write (the single highest-leverage minimalism decision — avoids the url→IDNA→ICU and async-runtime taxes) with buffered + streaming/SSE request paths, plus unix-socket and the feature-gated tls/vsock connects, and an SSRF egress classifier. RFC 0006 §transports. serde-free.

Modules§

http
A minimal blocking HTTP/1.1 client over any Read + Write. RFC 0006.
ssrf
SSRF classifier (RFC 0012 — security posture, §“SSRF guard”).
unixsock
Unix-domain-socket transport. RFC 0006 §transports.