docs.rs failed to build arcbox-protocol-0.4.17
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
arcbox-protocol-0.0.1-alpha.1
arcbox-protocol
Protocol Buffer message and service definitions for ArcBox.
Overview
This crate provides generated Rust types for arcbox.v1 protobuf schemas,
re-exported through:
arcbox_protocol::v1::*(canonical)- compatibility modules (
arcbox_protocol::machine,::container,::agent, etc.) - selected crate-root re-exports for convenience
Modules
| Module | Source proto | Description |
|---|---|---|
common |
common.proto |
Shared types (Empty, Mount, PortBinding, ...) |
machine |
machine.proto |
Machine lifecycle + agent passthrough requests |
container |
container.proto |
Container lifecycle and exec messages |
image |
image.proto |
Image pull/list/inspect/remove messages |
agent |
agent.proto |
Guest agent health/runtime messages |
api |
api.proto |
Network/system/volume/migration API messages |
Protocol evolution
The daemon and the in-VM arcbox-agent are distributed separately, so a
running guest may speak an older schema than the host. Two mechanisms keep
skew safe:
- Additive-only schemas. CI runs
buf breakingagainstmaster(.github/workflows/ci.yml): never remove or renumber fields; usereservedwhen retiring them. - Boot handshake. The agent reports
AgentPingResponse.protocol_version(arcbox_constants::wire::AGENT_PROTOCOL_VERSION); the host rejects agents belowMIN_AGENT_PROTOCOL_VERSIONbefore watching readiness. Bump the protocol version when a change alters the meaning of existing messages; purely additive, ignorable fields don't need one.
Usage
use ;
let create = CreateContainerRequest ;
let pull = PullImageRequest ;
assert_eq!;
assert_eq!;
License
MIT OR Apache-2.0