57 releases (27 stable)

new 1.11.1 Jul 20, 2024
1.9.0 Jun 23, 2024
0.3.4 May 1, 2023
0.2.12 Mar 31, 2023
0.1.1 Dec 2, 2022

#414 in Development tools

Download history 89/week @ 2024-04-01 420/week @ 2024-05-13 591/week @ 2024-05-20 436/week @ 2024-05-27 371/week @ 2024-06-03 689/week @ 2024-06-10 318/week @ 2024-06-17 32/week @ 2024-06-24 406/week @ 2024-07-01 141/week @ 2024-07-08 458/week @ 2024-07-15

1,174 downloads per month
Used in 2 crates

GPL-3.0-or-later

315KB
8K SLoC

Monitor

A system to build and deploy software accross many servers

Docs: https://docs.rs/monitor_client/latest/monitor_client


lib.rs:

Monitor

A system to build and deploy software accross many servers

This is a client library for the monitor core API. It contains:

  • Definitions for the application [api] and [entities].
  • A [client][MonitorClient] to interact with the monitor core API.
  • Information on configuring monitor core and periphery.

Client Configuration

The client includes a convenenience method to parse the monitor url and credentials from the environment:

  • MONITOR_ADDRESS
  • MONITOR_API_KEY
  • MONITOR_API_SECRET

Client Example

dotenv::dotenv().ok();

let client = MonitorClient::new_from_env()?;

// Get all the deployments
let deployments = client.read(ListDeployments::default()).await?;

println!("{deployments:#?}");

let update = client.execute

Dependencies

~14–27MB
~418K SLoC