Expand description
Build a native connection adapter without linking the ShellCanvas desktop. Standard input/output are reserved for the versioned protocol.
Re-exports§
pub use wire::ServiceDescriptor;pub use serde_json;
Modules§
- package
- Shared package identity, configuration and asset-path validation.
- tools
- Standalone project generation and package tooling. Never installs or connects.
- wire
- Adapter protocol v1: big-endian u32 byte length followed by UTF-8 JSON.
Macros§
- json
- Construct a
serde_json::Valuefrom a JSON literal.
Structs§
- Call
Error - A public error message must not contain credentials or raw device responses.
- Request
Context - Cancellation requests a stop; it cannot undo an already dispatched write.
Enums§
- Value
- Represents any valid JSON value.
Traits§
Functions§
- run
- serve
- Serve one framed connection. Queues and concurrency are bounded; total requests/bytes are not capped. Disconnect allows five seconds for cleanup. Adapter resources also need RAII cleanup for forced process termination.