#protobuf #arc-box #ttrpc #docker #unix-socket

arcbox-protocol

Protocol definitions for ArcBox (ttrpc/protobuf)

1 unstable release

Uses new Rust 2024

0.0.1-alpha.1 Jan 6, 2026

#5 in #ttrpc


Used in 8 crates

MIT/Apache

12KB
57 lines

arcbox-protocol

Protocol definitions for ArcBox communication.

This crate defines the message types and service interfaces used for communication between:

  • CLI <-> Daemon (ttrpc over Unix socket)
  • Host <-> Guest (ttrpc over vsock)
  • Docker CLI <-> Daemon (REST API, handled by arcbox-docker)

Protocol Buffers

The protocol is defined using Protocol Buffers for efficient serialization. Message types are generated at build time from .proto files.

Services

  • container - Container lifecycle operations
  • image - Image management
  • machine - Virtual machine management
  • agent - Guest agent operations

Dependencies

~0.5–2.6MB
~52K SLoC