silicon-dm-client 0.2.1

Stateless typed HTTP and WebSocket client for Silicon DM
Documentation

silicon-dm-client

Stateless Rust client for Silicon DM's public API and WebSocket protocol, with an optional runtime feature for the durable local relay used by the CLI. The default client owns no local files or background processes and does not depend on the backend crate. Optional runtimes use explicit caller-owned state directories and can run in-process or launch the packaged dm-relay binary.

See the repository's client guide, realtime guide, and optional runtime guide.

Add the published library to a Rust application:

[dependencies]
silicon-dm-client = "0.2.1"

Enable features = ["runtime"] when the application needs durable local queues, credential refresh, callback delivery, or the localhost relay. Pass an explicit private state directory to LocalRuntime; the default client remains stateless. The optional relay executable can be installed with cargo install silicon-dm-client --features runtime --bin dm-relay --locked.

The runtime's caller-owned UpdatePolicy enables hourly checks by default. Call updates::after_command with the consuming application's manifest to update its compatible dependency and rebuild; a running process keeps its linked version until restarted. The policy can be disabled, and the stateless client does not invoke Cargo automatically. See the runtime guide for integration and shutdown examples.

Version 0.2.1 updates the installation and operating guides after manual registry installation, IAM integration, and Giphy provider verification. See the manual verification record and deployment guide for observed results and deployment prerequisites. Build from this checkout with cargo check -p silicon-dm-client.