A work-in-progress wrapper for Concord API. Uses tokio for async I/O.
Depends on reqwest and tokio-tungstenite for HTTP and WebSocket support, respectively.
- basic QueueClient implementation:
- maintains a WebSocket connection to concord-server
- provides high-level API like
next_processandnext_command - graceful shutdown (on drop)
- configurable timeouts
- basic ApiClient implementation:
- supports both API token and session token authentication
- start a process
- get process details
- update process status
- download process state
- create and update log segments
- configurable timeouts
- everything else
The current feature set is enough to implement a bare-bones concord-agent in Rust.
All features are enabled by default.
api-client- access to Concord's REST APIs;queue-client- access to Concord's websocket API.