mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 08:01:26 +00:00
The ABI's claim is that a plugin needs a C compiler and nothing else. These two are the evidence: the same SOCKS5 stream engine written twice, once in plain C11 against leaf_plugin_abi.h and once in Zig importing that same header, with no SDK, no runtime and no dependency beyond libc between them. Both are state machines over the greeting, the method reply, the request and the reply, so neither ever blocks or holds a thread. Each carries its own tests -- socks5_test.c runs the engine against truncated and malformed replies, and the Zig build runs its tests through `zig build test`.