9 releases

Uses new Rust 2024

0.0.9 May 1, 2025
0.0.8 Apr 30, 2025
0.0.6 Mar 27, 2025
0.0.5 Aug 28, 2024
0.0.1 Jul 28, 2024

#218 in WebSocket

Download history

556 downloads per month

Apache-2.0

35KB
836 lines

concord-client

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.

Status

  • basic QueueClient implementation:
    • maintains a WebSocket connection to concord-server
    • provides high-level API like next_process and next_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.

Create Features

All features are enabled by default.

  • api-client - access to Concord's REST APIs;
  • queue-client - access to Concord's websocket API.

Dependencies

~14–31MB
~333K SLoC