Skip to main content

Crate cccc_sdk

Crate cccc_sdk 

Source
Expand description

Official Rust client for CCCC daemon IPC v1.

The client discovers the daemon from CCCC_HOME, sends one NDJSON request per connection, and exposes both a generic JSON API and focused helpers for common workflows.

Structs§

CCCCClient
Blocking CCCC Daemon IPC v1 client.
CompatibilityRequirements
Capabilities and operations required by CCCCClient::assert_compatible.
DaemonError
Structured application error returned by the CCCC daemon.
DaemonRequest
Daemon IPC v1 request envelope.
DaemonResponse
Daemon IPC v1 response envelope.
PingResult
Stable fields returned by ping; unknown fields remain available through CCCCClient::call.

Enums§

DaemonEndpoint
Transport endpoint advertised by the CCCC daemon.
Error
Errors produced while discovering, connecting to, or calling CCCC.

Functions§

discover_endpoint
Discover a daemon endpoint under cccc_home, CCCC_HOME, or ~/.cccc.

Type Aliases§

Result