CCCC Rust SDK
Official blocking Rust client for CCCC Daemon IPC v1.
Install
[]
= "0.0.1"
Quick start
use ;
The client discovers ${CCCC_HOME}/daemon/ccccd.addr.json, supports Unix
sockets and TCP, and falls back to ${CCCC_HOME}/daemon/ccccd.sock on Unix.
Common helpers include ping, groups, group_show, send, reply,
inbox_list, context_get, and context_sync. Use call for every other
non-streaming CCCC 0.4.33 operation:
use CCCCClient;
use ;
let client = discover?;
let args: =
.into_iter
.collect;
let preamble = client.call?;
# Ok::
assert_compatible probes requested operation names and rejects an advertised
capability whose actual operation returns unknown_op.
Streaming upgrade operations such as events_stream and term_attach are not
exposed as iterators in 0.0.1. Their handshake can still be checked through
operation probing; a reusable duplex-stream API will be added only with stable
ownership and backpressure semantics.